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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 169 kB / 23.02 MB, free: 1.555 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.054/1.054, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7652/0.7652, allocations: 154.8 MB / 414.7 MB, free: 500 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.193e-06/1.193e-06, allocations: 0 / 0.5206 GB, free: 0.8203 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.407e-05/1.526e-05, allocations: 2.312 kB / 0.5206 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.004429/0.004444, allocations: 2.189 MB / 0.5228 GB, free: 14.64 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.005804, allocations: 0.5982 MB / 0.5233 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.005984, allocations: 8.906 kB / 0.5233 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001547/0.006139, allocations: 27.61 kB / 0.5234 GB, free: 14.01 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.006266, allocations: 41.75 kB / 0.5234 GB, free: 13.97 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.006599, allocations: 99.86 kB / 0.5235 GB, free: 13.87 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003731/0.006972, allocations: 291.2 kB / 0.5238 GB, free: 13.59 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.007254, allocations: 96.33 kB / 0.5239 GB, free: 13.49 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002551/0.007509, allocations: 171.6 kB / 0.524 GB, free: 13.32 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001701/0.007679, allocations: 100.4 kB / 0.5241 GB, free: 13.23 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.795e-05/0.007737, allocations: 28 kB / 0.5242 GB, free: 13.2 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.424e-05/0.007781, allocations: 28.84 kB / 0.5242 GB, free: 13.17 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.481e-05/0.007856, allocations: 59.81 kB / 0.5242 GB, free: 13.11 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.007969, allocations: 97.16 kB / 0.5243 GB, free: 13.02 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003571/0.008326, allocations: 207.2 kB / 0.5245 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.00833, allocations: 0 / 0.5245 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.008331, allocations: 0 / 0.5245 GB, free: 12.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.008338, allocations: 0.7812 kB / 0.5245 GB, free: 12.82 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001059/0.009398, allocations: 0.6772 MB / 0.5252 GB, free: 12.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.009447, allocations: 8.031 kB / 0.5252 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.009571, allocations: 52.75 kB / 0.5253 GB, free: 12.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.00997, allocations: 213.7 kB / 0.5255 GB, free: 11.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.287e-05/0.01001, allocations: 20.8 kB / 0.5255 GB, free: 11.77 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.01012, allocations: 28.38 kB / 0.5255 GB, free: 11.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004373/0.01056, allocations: 330.6 kB / 0.5258 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.01057, allocations: 1.062 kB / 0.5258 GB, free: 11.38 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.01059, allocations: 12.12 kB / 0.5258 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.0106, allocations: 8.719 kB / 0.5258 GB, free: 11.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.01075, allocations: 70.94 kB / 0.5259 GB, free: 11.29 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/0.01155, allocations: 0.5504 MB / 0.5264 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001781/0.01173, allocations: 99.75 kB / 0.5265 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.01179, allocations: 35.66 kB / 0.5266 GB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/0.01182, allocations: 4.812 kB / 0.5266 GB, free: 10.56 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001985/0.01202, allocations: 144.3 kB / 0.5267 GB, free: 10.41 MB / 458.7 MB Notification: Performance of pre-optimization done (n=20): time 2.394e-06/0.01202, allocations: 0.5 kB / 0.5267 GB, free: 10.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003314/0.01235, allocations: 190.5 kB / 0.5269 GB, free: 10.21 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.993e-05/0.0124, allocations: 110.8 kB / 0.527 GB, free: 10.08 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.01255, allocations: 273.7 kB / 0.5273 GB, free: 9.797 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.01258, allocations: 34.92 kB / 0.5273 GB, free: 9.758 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.417e-05/0.01267, allocations: 207.1 kB / 0.5275 GB, free: 9.551 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.01271, allocations: 55.53 kB / 0.5276 GB, free: 9.496 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.01279, allocations: 76.25 kB / 0.5276 GB, free: 9.414 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.01291, allocations: 0.504 MB / 0.5281 GB, free: 8.898 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.01302, allocations: 123 kB / 0.5282 GB, free: 8.762 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.01319, allocations: 270.7 kB / 0.5285 GB, free: 8.43 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001678/0.01336, allocations: 216.7 kB / 0.5287 GB, free: 8.176 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01336, allocations: 0.8438 kB / 0.5287 GB, free: 8.176 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000329/0.01369, allocations: 398.5 kB / 0.5291 GB, free: 7.746 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.01373, allocations: 91.75 kB / 0.5292 GB, free: 7.641 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01374, allocations: 9.688 kB / 0.5292 GB, free: 7.633 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.01376, allocations: 4 kB / 0.5292 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.0139, allocations: 47.91 kB / 0.5292 GB, free: 7.582 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.01391, allocations: 7.938 kB / 0.5292 GB, free: 7.574 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.01405, allocations: 49.25 kB / 0.5293 GB, free: 7.527 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.01407, allocations: 19.98 kB / 0.5293 GB, free: 7.508 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (antFre.disErr.y,$PRE.antFre.disErr.y,ySetOn.y,$PRE.ySetOn.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,antFre.errAndSetOn.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 (34): * Single equations (assignments): 31 * 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.0001113/0.01418, allocations: 185.4 kB / 0.5295 GB, free: 7.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.01421, allocations: 27.86 kB / 0.5295 GB, free: 7.293 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002224/0.01443, allocations: 167.3 kB / 0.5297 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01443, allocations: 0 / 0.5297 GB, free: 7.121 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.01444, allocations: 10.16 kB / 0.5297 GB, free: 7.113 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.01444, allocations: 3.984 kB / 0.5297 GB, free: 7.109 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.01486, allocations: 487.7 kB / 0.5301 GB, free: 6.594 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01486, allocations: 0 / 0.5301 GB, free: 6.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.485e-05/0.01493, allocations: 27.91 kB / 0.5302 GB, free: 6.566 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.01493, allocations: 4 kB / 0.5302 GB, free: 6.562 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.01494, allocations: 10.22 kB / 0.5302 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01494, allocations: 3.984 kB / 0.5302 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.01495, allocations: 0 / 0.5302 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.01517, allocations: 311.7 kB / 0.5305 GB, free: 6.227 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.781e-05/0.01519, allocations: 19.83 kB / 0.5305 GB, free: 6.207 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.01522, allocations: 11.94 kB / 0.5305 GB, free: 6.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.01533, allocations: 33.5 kB / 0.5305 GB, free: 6.164 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.933e-05/0.01542, allocations: 55.84 kB / 0.5306 GB, free: 6.109 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.01544, allocations: 11.42 kB / 0.5306 GB, free: 6.102 MB / 458.7 MB Notification: Performance of sorting global known variables: time 7.695e-05/0.01552, allocations: 176.3 kB / 0.5308 GB, free: 5.93 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01552, allocations: 4 kB / 0.5308 GB, free: 5.926 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.01572, allocations: 55.91 kB / 0.5308 GB, free: 5.871 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$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,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * 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 8.714e-05/0.01581, allocations: 119.2 kB / 0.5309 GB, free: 5.742 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.01614, allocations: 389.2 kB / 0.5313 GB, free: 5.309 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01614, allocations: 4 kB / 0.5313 GB, free: 5.305 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.26e-05/0.01623, allocations: 63.59 kB / 0.5314 GB, free: 5.238 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.01648, allocations: 51.22 kB / 0.5314 GB, free: 5.191 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.01719, allocations: 375.8 kB / 0.5318 GB, free: 4.801 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.01724, allocations: 89.08 kB / 0.5319 GB, free: 4.695 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 6.423e-05/0.01731, allocations: 25.16 kB / 0.5319 GB, free: 4.676 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.01738, allocations: 28.48 kB / 0.5319 GB, free: 4.648 MB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01738, allocations: 2.75 kB / 0.5319 GB, free: 4.648 MB / 458.7 MB Notification: Performance of Templates: time 0.005036/0.02241, allocations: 3.686 MB / 0.5355 GB, free: 1.172 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9712750809267163]