Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.001381/0.001381, allocations: 102.9 kB / 16.45 MB, free: 6.445 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.001334/0.001334, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.408/1.408, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.04/1.04, allocations: 175.8 MB / 478.4 MB, free: 3.461 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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 69.27 kB / 0.6653 GB, free: 11.24 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1762, allocations: 94.55 MB / 0.7576 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003363/0.1796, allocations: 2.084 MB / 0.7596 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.1806, allocations: 0.5611 MB / 0.7602 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001079/0.1807, allocations: 4 kB / 0.7602 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.1808, allocations: 27.66 kB / 0.7602 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.547e-05/0.1809, allocations: 39.66 kB / 0.7602 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002586/0.1812, allocations: 87.83 kB / 0.7603 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.1815, allocations: 263.4 kB / 0.7606 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.1817, allocations: 90.86 kB / 0.7607 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.1818, allocations: 111.6 kB / 0.7608 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.182, allocations: 123.4 kB / 0.7609 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.513e-05/0.182, allocations: 28 kB / 0.7609 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.876e-05/0.1821, allocations: 28 kB / 0.7609 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.979e-05/0.1821, allocations: 51.83 kB / 0.761 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1823, allocations: 115.4 kB / 0.7611 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.1826, allocations: 282.8 kB / 0.7614 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1826, allocations: 0 / 0.7614 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.537e-06/0.1826, allocations: 3.984 kB / 0.7614 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.1826, allocations: 0 / 0.7614 GB, free: 13.67 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001168/0.1838, allocations: 0.6461 MB / 0.762 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.1838, allocations: 12.03 kB / 0.762 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.156e-05/0.1839, allocations: 59.11 kB / 0.7621 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.184, allocations: 28.75 kB / 0.7621 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003638/0.1843, allocations: 252.6 kB / 0.7623 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.1844, allocations: 20.36 kB / 0.7624 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.172e-05/0.1844, allocations: 27.94 kB / 0.7624 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.185, allocations: 270.6 kB / 0.7626 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.185, allocations: 0 / 0.7626 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.185, allocations: 7.984 kB / 0.7626 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.185, allocations: 4 kB / 0.7627 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006249/0.1857, allocations: 201.6 kB / 0.7628 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1868, allocations: 0.6194 MB / 0.7634 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.1875, allocations: 226.4 kB / 0.7637 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.1878, allocations: 84.78 kB / 0.7637 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.1878, allocations: 7.938 kB / 0.7638 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004645/0.1883, allocations: 187.1 kB / 0.7639 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.703e-06/0.1883, allocations: 0 / 0.7639 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001017/0.1893, allocations: 335.7 kB / 0.7643 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/0.1894, allocations: 106.8 kB / 0.7644 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.1896, allocations: 208.3 kB / 0.7646 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.781e-05/0.1897, allocations: 41.64 kB / 0.7646 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1898, allocations: 152.4 kB / 0.7647 GB, free: 9.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.1898, allocations: 51.66 kB / 0.7648 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.1899, allocations: 61.66 kB / 0.7648 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1901, allocations: 338.8 kB / 0.7652 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.1904, allocations: 108.2 kB / 0.7653 GB, free: 9.398 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/0.1908, allocations: 167.9 kB / 0.7654 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.1915, allocations: 312.8 kB / 0.7657 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1915, allocations: 4 kB / 0.7657 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008787/0.1923, allocations: 424.6 kB / 0.7661 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.862e-05/0.1924, allocations: 93.09 kB / 0.7662 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1924, allocations: 4.156 kB / 0.7662 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1924, allocations: 4 kB / 0.7662 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.1926, allocations: 47.89 kB / 0.7663 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1927, allocations: 4 kB / 0.7663 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.1929, allocations: 55.78 kB / 0.7663 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.193, allocations: 8 kB / 0.7663 GB, free: 8.199 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * 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 prepare postOptimizeDAE: time 0.0001549/0.1931, allocations: 156 kB / 0.7665 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.1932, allocations: 23.8 kB / 0.7665 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007227/0.1939, allocations: 259.3 kB / 0.7668 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1939, allocations: 4 kB / 0.7668 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1939, allocations: 7.938 kB / 0.7668 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1939, allocations: 0 / 0.7668 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000956/0.1949, allocations: 0.5744 MB / 0.7673 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.1949, allocations: 0 / 0.7673 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.195, allocations: 31.95 kB / 0.7674 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.195, allocations: 4 kB / 0.7674 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.195, allocations: 0 / 0.7674 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.195, allocations: 3.984 kB / 0.7674 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.195, allocations: 4 kB / 0.7674 GB, free: 7.062 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007186/0.1958, allocations: 355 kB / 0.7677 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.1958, allocations: 92.95 kB / 0.7678 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.18e-05/0.1959, allocations: 11.94 kB / 0.7678 GB, free: 6.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.1961, allocations: 39.94 kB / 0.7679 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.1963, allocations: 43.94 kB / 0.7679 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.1963, allocations: 8 kB / 0.7679 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001265/0.1964, allocations: 152 kB / 0.768 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1964, allocations: 4 kB / 0.7681 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002954/0.1967, allocations: 55.89 kB / 0.7681 GB, free: 6.281 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0014/0.1981, allocations: 1.003 MB / 0.7691 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008352/0.1989, allocations: 408 kB / 0.7695 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1989, allocations: 0 / 0.7695 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000342/0.1993, allocations: 109.3 kB / 0.7696 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.1996, allocations: 32.23 kB / 0.7696 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.2035, allocations: 2.593 MB / 0.7721 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.2039, allocations: 0.7436 MB / 0.7729 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.842e-05/0.204, allocations: 21.53 kB / 0.7729 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001259/0.2041, allocations: 75.34 kB / 0.773 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of SimCode: time 7.21e-07/0.2041, allocations: 0 / 0.773 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02887/0.233, allocations: 5.235 MB / 0.7781 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.061, allocations: 8.297 kB / 0.7781 GB, free: 12.02 MB / 0.5919 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze_fmu --startTime=0 --stopTime=100 --stepSize=1 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_HeatPumps_ModularReversible_Controls_Safety_Examples_AntiFreeze.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.880210403818637] Failed to read output from testmodel.py, exit status != 0: 8.133611856028438 8.160516753 7.972694268 Calling exit ...