Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001312/0.001312, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001036/0.001036, allocations: 177 kB / 23.36 MB, free: 1.133 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 0.9773/0.9773, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7932/0.7932, allocations: 154.6 MB / 414.8 MB, free: 0.5273 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 480.1 MB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.281e-05/2.425e-05, allocations: 2.312 kB / 480.1 MB, free: 6.848 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003574/0.003598, allocations: 2.174 MB / 482.2 MB, free: 4.703 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.004714, allocations: 0.611 MB / 482.8 MB, free: 4.094 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.004829, allocations: 4 kB / 482.9 MB, free: 4.09 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001234/0.004952, allocations: 24.88 kB / 482.9 MB, free: 4.066 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.005074, allocations: 46.2 kB / 482.9 MB, free: 4.035 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002761/0.00535, allocations: 95.88 kB / 483 MB, free: 3.941 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.005688, allocations: 291.8 kB / 483.3 MB, free: 3.656 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.005912, allocations: 103.5 kB / 483.4 MB, free: 3.555 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.006145, allocations: 177.4 kB / 483.6 MB, free: 3.383 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.006293, allocations: 99.72 kB / 483.7 MB, free: 3.285 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.006344, allocations: 24 kB / 483.7 MB, free: 3.262 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.947e-05/0.006384, allocations: 28 kB / 483.7 MB, free: 3.234 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.006447, allocations: 59.77 kB / 483.8 MB, free: 3.176 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.175e-05/0.006539, allocations: 88.53 kB / 483.9 MB, free: 3.09 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.00686, allocations: 207.1 kB / 484.1 MB, free: 2.887 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.006862, allocations: 0.875 kB / 484.1 MB, free: 2.887 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006863, allocations: 0 / 484.1 MB, free: 2.887 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006868, allocations: 0.625 kB / 484.1 MB, free: 2.887 MB / 442.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.0007571/0.007625, allocations: 0.555 MB / 484.6 MB, free: 2.293 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.007662, allocations: 8.031 kB / 484.6 MB, free: 2.285 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.385e-05/0.007735, allocations: 36.91 kB / 484.7 MB, free: 2.25 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.007968, allocations: 179.3 kB / 484.8 MB, free: 2.047 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.007993, allocations: 16.88 kB / 484.9 MB, free: 2.031 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.008033, allocations: 24.38 kB / 484.9 MB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.008414, allocations: 285.3 kB / 485.2 MB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.008425, allocations: 192 / 485.2 MB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.008449, allocations: 12.91 kB / 485.2 MB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.008458, allocations: 9.625 kB / 485.2 MB, free: 1.684 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.008574, allocations: 51.47 kB / 485.2 MB, free: 1.637 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007226/0.009297, allocations: 383.5 kB / 485.6 MB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.009465, allocations: 81.53 kB / 485.7 MB, free: 1.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.009518, allocations: 25.5 kB / 485.7 MB, free: 1.133 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.009542, allocations: 7.484 kB / 485.7 MB, free: 1.129 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002698/0.009812, allocations: 140 kB / 485.9 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.009814, allocations: 0 / 485.9 MB, free: 0.9805 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002538/0.01007, allocations: 129.2 kB / 486 MB, free: 0.8516 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.01012, allocations: 110.8 kB / 486.1 MB, free: 0.7188 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.01028, allocations: 203.4 kB / 486.3 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/0.01031, allocations: 42.33 kB / 486.3 MB, free: 472 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.064e-05/0.0104, allocations: 156.9 kB / 486.5 MB, free: 308 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.01045, allocations: 51.62 kB / 486.5 MB, free: 256 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/0.01054, allocations: 70.55 kB / 486.6 MB, free: 180 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.01066, allocations: 342.7 kB / 486.9 MB, free: 15.83 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.01076, allocations: 114 kB / 487.1 MB, free: 15.7 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.01093, allocations: 230.6 kB / 487.3 MB, free: 15.42 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.01113, allocations: 196.4 kB / 487.5 MB, free: 15.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.01113, allocations: 4 kB / 487.5 MB, free: 15.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003313/0.01146, allocations: 322.8 kB / 487.8 MB, free: 14.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.01152, allocations: 93.88 kB / 487.9 MB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.01153, allocations: 4 kB / 487.9 MB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.01154, allocations: 1.219 kB / 487.9 MB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.01173, allocations: 47.91 kB / 487.9 MB, free: 14.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01173, allocations: 4 kB / 487.9 MB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.01193, allocations: 45.42 kB / 488 MB, free: 14.63 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.01196, allocations: 15.98 kB / 488 MB, free: 14.61 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,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.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) * 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.0001337/0.0121, allocations: 141.9 kB / 488.1 MB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.01214, allocations: 23.97 kB / 488.2 MB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.01236, allocations: 119.4 kB / 488.3 MB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01236, allocations: 6.344 kB / 488.3 MB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01236, allocations: 0 / 488.3 MB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01237, allocations: 0 / 488.3 MB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.01278, allocations: 309 kB / 488.6 MB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.01278, allocations: 4 kB / 488.6 MB, free: 13.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.969e-05/0.01287, allocations: 19.98 kB / 488.6 MB, free: 13.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01287, allocations: 5.5 kB / 488.6 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.01289, allocations: 3.984 kB / 488.6 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.0129, allocations: 0 / 488.6 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.0129, allocations: 0 / 488.6 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002088/0.01311, allocations: 211.1 kB / 488.8 MB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.614e-05/0.01313, allocations: 23.8 kB / 488.8 MB, free: 13.72 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.01317, allocations: 8 kB / 488.9 MB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.01335, allocations: 38.81 kB / 488.9 MB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.01345, allocations: 51.84 kB / 488.9 MB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.01347, allocations: 8.781 kB / 489 MB, free: 13.62 MB / 458.7 MB Notification: Performance of sorting global known variables: time 6.985e-05/0.01354, allocations: 64.69 kB / 489 MB, free: 13.55 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01354, allocations: 1.156 kB / 489 MB, free: 13.55 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003185/0.01386, allocations: 59.89 kB / 489.1 MB, free: 13.49 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 0.0001419/0.014, allocations: 99.28 kB / 489.2 MB, free: 13.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0004863/0.01449, allocations: 352.5 kB / 489.5 MB, free: 12.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.0145, allocations: 4 kB / 489.5 MB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.01461, allocations: 68.7 kB / 489.6 MB, free: 12.91 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.0149, allocations: 46.8 kB / 489.6 MB, free: 12.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000849/0.01575, allocations: 387.6 kB / 490 MB, free: 12.48 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.487e-05/0.01581, allocations: 84.88 kB / 490.1 MB, free: 12.38 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.01592, allocations: 22.8 kB / 490.1 MB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.0161, allocations: 95.34 kB / 490.2 MB, free: 12.27 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.0161, allocations: 0.7188 kB / 490.2 MB, free: 12.27 MB / 458.7 MB Notification: Performance of Templates: time 0.007683/0.02379, allocations: 3.712 MB / 493.9 MB, free: 8.852 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6605039378628135]