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.001889/0.001889, allocations: 85.48 kB / 19.44 MB, free: 340 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.002122/0.002122, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.587/1.587, allocations: 177.1 MB / 203.1 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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 1.348/1.348, allocations: 154.8 MB / 414.3 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 178] 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 6.612e-06/6.612e-06, allocations: 4 kB / 0.5199 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/4.063e-05, allocations: 3.406 kB / 0.5199 GB, free: 2.094 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.006911/0.006952, allocations: 2.126 MB / 0.522 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.009116, allocations: 0.5946 MB / 0.5226 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001951/0.009311, allocations: 7.938 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001911/0.009502, allocations: 21.14 kB / 0.5226 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.009714, allocations: 48.69 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.01017, allocations: 91.81 kB / 0.5227 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0006139/0.01079, allocations: 299.9 kB / 0.523 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.0112, allocations: 91.58 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004406/0.01164, allocations: 168.9 kB / 0.5233 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003057/0.01195, allocations: 99.72 kB / 0.5234 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.01205, allocations: 28 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 8.714e-05/0.01214, allocations: 29.34 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.01227, allocations: 63.75 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002263/0.01249, allocations: 91.78 kB / 0.5236 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0006916/0.01319, allocations: 318.9 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.914e-06/0.01319, allocations: 4.688 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.453e-06/0.0132, allocations: 0 / 0.5239 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.01321, allocations: 1.844 kB / 0.5239 GB, free: 14.05 MB / 0.4948 GB 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.002004/0.01521, allocations: 0.6865 MB / 0.5246 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.945e-05/0.01527, allocations: 8.031 kB / 0.5246 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002012/0.01547, allocations: 52.73 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006544/0.01612, allocations: 209.7 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.546e-05/0.01617, allocations: 22.34 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.514e-05/0.01625, allocations: 28.36 kB / 0.5249 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.01741, allocations: 373.3 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.01743, allocations: 1.156 kB / 0.5252 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/0.01748, allocations: 16.12 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.0175, allocations: 5.281 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.01853, allocations: 165.9 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002098/0.02063, allocations: 0.6096 MB / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.02187, allocations: 172.7 kB / 0.5262 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.02236, allocations: 75.64 kB / 0.5262 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.02241, allocations: 7.984 kB / 0.5262 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007644/0.02317, allocations: 186.7 kB / 0.5264 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 2.645e-06/0.02317, allocations: 0 / 0.5264 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20): time 0.001705/0.02488, allocations: 304.8 kB / 0.5267 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.02503, allocations: 106.8 kB / 0.5268 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.02556, allocations: 317.6 kB / 0.5271 GB, free: 10.52 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.02564, allocations: 41.69 kB / 0.5272 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/0.02592, allocations: 213.6 kB / 0.5274 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.02605, allocations: 63.53 kB / 0.5274 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/0.0263, allocations: 87.62 kB / 0.5275 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004695/0.02677, allocations: 0.5118 MB / 0.528 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007272/0.0275, allocations: 189.1 kB / 0.5282 GB, free: 9.379 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008903/0.02839, allocations: 329 kB / 0.5285 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.02953, allocations: 304.5 kB / 0.5288 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.02954, allocations: 0.9375 kB / 0.5288 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001683/0.03122, allocations: 0.4925 MB / 0.5293 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.03136, allocations: 93.09 kB / 0.5294 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.03137, allocations: 0 / 0.5294 GB, free: 8.012 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/0.0314, allocations: 4 kB / 0.5294 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.03184, allocations: 51.91 kB / 0.5294 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.03186, allocations: 6.719 kB / 0.5294 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.03236, allocations: 51.81 kB / 0.5295 GB, free: 7.902 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-05/0.03242, allocations: 11.98 kB / 0.5295 GB, free: 7.891 MB / 0.4948 GB 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.0003443/0.03276, allocations: 196.2 kB / 0.5297 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.03287, allocations: 35.84 kB / 0.5297 GB, free: 7.656 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.03407, allocations: 249.9 kB / 0.5299 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.03408, allocations: 0 / 0.5299 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.03409, allocations: 3.938 kB / 0.5299 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.03409, allocations: 0.6562 kB / 0.5299 GB, free: 7.406 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001813/0.03591, allocations: 0.5746 MB / 0.5305 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.03592, allocations: 4.5 kB / 0.5305 GB, free: 6.789 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002515/0.03617, allocations: 21.17 kB / 0.5305 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.119e-05/0.03618, allocations: 4 kB / 0.5305 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.03622, allocations: 11.92 kB / 0.5305 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.03622, allocations: 1.312 kB / 0.5305 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.03623, allocations: 0 / 0.5305 GB, free: 6.754 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.03758, allocations: 384.4 kB / 0.5309 GB, free: 6.359 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.829e-05/0.03765, allocations: 27.77 kB / 0.5309 GB, free: 6.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.323e-05/0.03773, allocations: 12.53 kB / 0.531 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.03819, allocations: 29.19 kB / 0.531 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000266/0.03846, allocations: 59.86 kB / 0.531 GB, free: 6.234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-05/0.03851, allocations: 12.92 kB / 0.531 GB, free: 6.223 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003152/0.03883, allocations: 196.3 kB / 0.5312 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.4e-07/0.03883, allocations: 0.9062 kB / 0.5312 GB, free: 6.031 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006298/0.03946, allocations: 63.83 kB / 0.5313 GB, free: 5.969 MB / 0.4948 GB 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 0.0002466/0.03971, allocations: 114.3 kB / 0.5314 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00168/0.04139, allocations: 497 kB / 0.5319 GB, free: 5.309 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.04139, allocations: 7 kB / 0.5319 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006409/0.04203, allocations: 117.6 kB / 0.532 GB, free: 5.188 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007137/0.04274, allocations: 44.55 kB / 0.532 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.04429, allocations: 394.5 kB / 0.5324 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.04453, allocations: 133.2 kB / 0.5325 GB, free: 4.586 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.04472, allocations: 24.66 kB / 0.5326 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/0.04489, allocations: 26 kB / 0.5326 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of SimCode: time 1.243e-06/0.04489, allocations: 0 / 0.5326 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of Templates: time 0.01628/0.06117, allocations: 3.686 MB / 0.5362 GB, free: 1.059 MB / 0.4948 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=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: 6.232854540925473]