Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.075/1.075, allocations: 175.7 MB / 480.2 MB, free: 2.781 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 68.58 kB / 0.6679 GB, free: 10.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.182, allocations: 94.53 MB / 0.7602 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.007423/0.1894, allocations: 3.185 MB / 0.7633 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00438/0.1938, allocations: 1.784 MB / 0.7651 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.1939, allocations: 7.938 kB / 0.7651 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.1953, allocations: 354.2 kB / 0.7654 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000656/0.1959, allocations: 219 kB / 0.7656 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007075/0.1966, allocations: 179.6 kB / 0.7658 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005423/0.1972, allocations: 319 kB / 0.7661 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.1976, allocations: 148.8 kB / 0.7662 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.1979, allocations: 143.5 kB / 0.7664 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004353/0.1983, allocations: 167.4 kB / 0.7665 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.054e-05/0.1983, allocations: 20 kB / 0.7665 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000588/0.1989, allocations: 255.5 kB / 0.7668 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001675/0.1991, allocations: 99.72 kB / 0.7669 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.1993, allocations: 123.4 kB / 0.767 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007815/0.2001, allocations: 430.4 kB / 0.7674 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.2001, allocations: 0 / 0.7674 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2001, allocations: 0 / 0.7674 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2001, allocations: 0 / 0.7674 GB, free: 9.402 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00134/0.2014, allocations: 0.5532 MB / 0.7679 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2015, allocations: 8.031 kB / 0.768 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.148e-05/0.2016, allocations: 62.67 kB / 0.768 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.2027, allocations: 92.69 kB / 0.7681 GB, free: 8.633 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.2031, allocations: 267.9 kB / 0.7684 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.2031, allocations: 12.81 kB / 0.7684 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.2032, allocations: 24.56 kB / 0.7684 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.204, allocations: 384.9 kB / 0.7688 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.204, allocations: 0 / 0.7688 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.204, allocations: 8 kB / 0.7688 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.762e-05/0.2041, allocations: 28.42 kB / 0.7688 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000485/0.2046, allocations: 305.5 kB / 0.7691 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.2064, allocations: 1.533 MB / 0.7706 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004305/0.2069, allocations: 214.3 kB / 0.7708 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.207, allocations: 104.8 kB / 0.7709 GB, free: 5.559 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001434/0.2072, allocations: 93.09 kB / 0.771 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.2072, allocations: 34.5 kB / 0.771 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.2072, allocations: 0 / 0.771 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001287/0.2085, allocations: 0.7999 MB / 0.7718 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.2085, allocations: 51.41 kB / 0.7718 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.2087, allocations: 199.1 kB / 0.772 GB, free: 4.289 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.2088, allocations: 33.7 kB / 0.7721 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2089, allocations: 164.2 kB / 0.7722 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.815e-05/0.2089, allocations: 71.38 kB / 0.7723 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.209, allocations: 57.69 kB / 0.7723 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2092, allocations: 330.8 kB / 0.7727 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.2094, allocations: 115.9 kB / 0.7728 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002205/0.2096, allocations: 163.8 kB / 0.7729 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004155/0.21, allocations: 297.1 kB / 0.7732 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.21, allocations: 4 kB / 0.7732 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007671/0.2108, allocations: 417.9 kB / 0.7736 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2108, allocations: 4 kB / 0.7736 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2108, allocations: 4 kB / 0.7736 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004285/0.2112, allocations: 96.95 kB / 0.7737 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.2115, allocations: 55.89 kB / 0.7738 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/0.2135, allocations: 1.876 MB / 0.7756 GB, free: 432 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.2138, allocations: 31.92 kB / 0.7756 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.2138, allocations: 8 kB / 0.7756 GB, free: 392 kB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001916/0.214, allocations: 157.8 kB / 0.7758 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.214, allocations: 19.86 kB / 0.7758 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005507/0.2146, allocations: 295.7 kB / 0.7761 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2146, allocations: 4 kB / 0.7761 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-07/0.2146, allocations: 0 / 0.7761 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2146, allocations: 7.75 kB / 0.7761 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.2156, allocations: 0.6952 MB / 0.7768 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.2156, allocations: 3.984 kB / 0.7768 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.2159, allocations: 55.97 kB / 0.7768 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2159, allocations: 7.922 kB / 0.7768 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.2159, allocations: 4 kB / 0.7768 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2159, allocations: 4.062 kB / 0.7768 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2159, allocations: 0 / 0.7768 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006549/0.2166, allocations: 0.5145 MB / 0.7773 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.2167, allocations: 128.9 kB / 0.7775 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.2168, allocations: 8 kB / 0.7775 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.2169, allocations: 11.98 kB / 0.7775 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.217, allocations: 19.98 kB / 0.7775 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.217, allocations: 4 kB / 0.7775 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001513/0.2171, allocations: 148.6 kB / 0.7777 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2171, allocations: 0 / 0.7777 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003757/0.2175, allocations: 67.94 kB / 0.7777 GB, free: 14.12 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001095/0.2186, allocations: 1.061 MB / 0.7788 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007873/0.2194, allocations: 413.3 kB / 0.7791 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2194, allocations: 4.125 kB / 0.7792 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000171/0.2196, allocations: 111.8 kB / 0.7793 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.2199, allocations: 31.98 kB / 0.7793 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003941/0.2239, allocations: 2.894 MB / 0.7821 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.2243, allocations: 0.7712 MB / 0.7829 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001722/0.2244, allocations: 65.89 kB / 0.7829 GB, free: 8.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.2246, allocations: 71.41 kB / 0.783 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of SimCode: time 4.11e-07/0.2246, allocations: 0 / 0.783 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03152/0.2561, allocations: 5.111 MB / 0.788 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.26, allocations: 11.98 kB / 0.788 GB, free: 3.504 MB / 0.5919 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > IDEAS_dev_IDEAS.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.047153302002698] Failed to read output from testmodel.py, exit status != 0: 10.346451466000872 10.368673378 10.165434578 Calling exit ...