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.001703/0.001703, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002022/0.002022, allocations: 186 kB / 20.78 MB, free: 1.547 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.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.156 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.088/1.088, allocations: 175.7 MB / 480.2 MB, free: 2.766 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: translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 64.48 kB / 0.6684 GB, free: 10.8 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2074, allocations: 94.53 MB / 0.7608 GB, free: 408 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004017/0.2115, allocations: 2.102 MB / 0.7628 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2126, allocations: 0.5767 MB / 0.7634 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000108/0.2127, allocations: 0 / 0.7634 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.2129, allocations: 27.67 kB / 0.7634 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.213, allocations: 35.66 kB / 0.7634 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.2133, allocations: 83.88 kB / 0.7635 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.2137, allocations: 275.3 kB / 0.7638 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.2141, allocations: 86.88 kB / 0.7639 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.2142, allocations: 111.6 kB / 0.764 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.2144, allocations: 119.5 kB / 0.7641 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.2145, allocations: 28 kB / 0.7641 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.184e-05/0.2145, allocations: 24 kB / 0.7641 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.411e-05/0.2146, allocations: 59.81 kB / 0.7642 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.2147, allocations: 107.5 kB / 0.7643 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.2152, allocations: 286.8 kB / 0.7646 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2152, allocations: 0 / 0.7646 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2152, allocations: 0 / 0.7646 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2152, allocations: 8 kB / 0.7646 GB, free: 12.47 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.001287/0.2165, allocations: 0.6368 MB / 0.7652 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2165, allocations: 12.03 kB / 0.7652 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.602e-05/0.2166, allocations: 24.8 kB / 0.7652 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/0.217, allocations: 252.5 kB / 0.7655 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.217, allocations: 24.5 kB / 0.7655 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.2171, allocations: 27.98 kB / 0.7655 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006692/0.2177, allocations: 266.4 kB / 0.7658 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2178, allocations: 0 / 0.7658 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.2178, allocations: 4 kB / 0.7658 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.2178, allocations: 8 kB / 0.7658 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.2185, allocations: 199.6 kB / 0.766 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001408/0.2199, allocations: 0.6209 MB / 0.7666 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/0.2208, allocations: 210.5 kB / 0.7668 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003114/0.2211, allocations: 84.78 kB / 0.7669 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.2211, allocations: 0 / 0.7669 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005459/0.2217, allocations: 200.7 kB / 0.767 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.794e-06/0.2217, allocations: 0 / 0.767 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001099/0.2228, allocations: 331.2 kB / 0.7674 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/0.2229, allocations: 110.8 kB / 0.7675 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000307/0.2232, allocations: 200.3 kB / 0.7677 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.2232, allocations: 37.7 kB / 0.7677 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.2233, allocations: 160.3 kB / 0.7678 GB, free: 8.863 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001695/0.2235, allocations: 51.58 kB / 0.7679 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.2236, allocations: 65.69 kB / 0.768 GB, free: 8.742 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0003168/0.2239, allocations: 330.8 kB / 0.7683 GB, free: 8.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005258/0.2245, allocations: 112.2 kB / 0.7684 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/0.225, allocations: 175.8 kB / 0.7686 GB, free: 8.102 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007147/0.2257, allocations: 307.7 kB / 0.7688 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2257, allocations: 0 / 0.7688 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000935/0.2266, allocations: 424.7 kB / 0.7692 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/0.2267, allocations: 89.05 kB / 0.7693 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2267, allocations: 4 kB / 0.7693 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2267, allocations: 4 kB / 0.7693 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.227, allocations: 51.89 kB / 0.7694 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.227, allocations: 0 / 0.7694 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.2273, allocations: 59.95 kB / 0.7694 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.2274, allocations: 8 kB / 0.7695 GB, free: 7.098 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.0001765/0.2276, allocations: 152 kB / 0.7696 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.2276, allocations: 27.78 kB / 0.7696 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008441/0.2284, allocations: 263.3 kB / 0.7699 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2284, allocations: 0 / 0.7699 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2284, allocations: 0 / 0.7699 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2285, allocations: 3.984 kB / 0.7699 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.2297, allocations: 0.5778 MB / 0.7704 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2297, allocations: 0 / 0.7704 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.2299, allocations: 35.91 kB / 0.7705 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2299, allocations: 0 / 0.7705 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.2299, allocations: 3.984 kB / 0.7705 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2299, allocations: 4 kB / 0.7705 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2299, allocations: 0 / 0.7705 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/0.2306, allocations: 347.1 kB / 0.7708 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.99e-05/0.2307, allocations: 100.9 kB / 0.7709 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.2308, allocations: 7.984 kB / 0.7709 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.2311, allocations: 47.89 kB / 0.771 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.2312, allocations: 43.94 kB / 0.771 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.764e-05/0.2312, allocations: 11.98 kB / 0.771 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001411/0.2314, allocations: 147.9 kB / 0.7712 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2314, allocations: 0 / 0.7712 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003146/0.2317, allocations: 55.94 kB / 0.7712 GB, free: 5.184 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.0002484/0.2319, allocations: 120.3 kB / 0.7713 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000923/0.2328, allocations: 409.8 kB / 0.7717 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2328, allocations: 320 / 0.7717 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.2332, allocations: 111.9 kB / 0.7718 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.2336, allocations: 33.11 kB / 0.7719 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009005/0.2345, allocations: 377.5 kB / 0.7722 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.2349, allocations: 0.732 MB / 0.7729 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.629e-05/0.235, allocations: 21.55 kB / 0.773 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.843e-05/0.2351, allocations: 23.44 kB / 0.773 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of SimCode: time 6.41e-07/0.2351, allocations: 0 / 0.773 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of Templates: time 0.007688/0.2427, allocations: 3.227 MB / 0.7761 GB, free: 80 kB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.172271455638111]