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.000773/0.000773, allocations: 115 kB / 19.7 MB, free: 0.5273 MB / 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.0008148/0.0008148, allocations: 212 kB / 23.01 MB, free: 3.113 MB / 13.93 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.9156/0.9156, allocations: 230.6 MB / 256.8 MB, free: 3.449 MB / 202.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-531:190: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-531:198: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.7543/0.7543, allocations: 203.8 MB / 0.5049 GB, free: 0.6367 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009521/0.0009521, allocations: 67.84 kB / 0.7195 GB, free: 14.31 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5058/0.5068, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002858/0.5096, allocations: 2.178 MB / 0.8213 GB, free: 23.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.5105, allocations: 0.6172 MB / 0.8219 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.5106, allocations: 2.938 kB / 0.8219 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.5108, allocations: 29.41 kB / 0.8219 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.5108, allocations: 41.34 kB / 0.8219 GB, free: 23.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002593/0.5111, allocations: 96.94 kB / 0.822 GB, free: 23.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.5114, allocations: 288.7 kB / 0.8223 GB, free: 23.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.5116, allocations: 105.2 kB / 0.8224 GB, free: 23.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.5118, allocations: 121.9 kB / 0.8225 GB, free: 22.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.5119, allocations: 130 kB / 0.8226 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.922e-05/0.512, allocations: 28.12 kB / 0.8227 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 4.44e-05/0.512, allocations: 33.31 kB / 0.8227 GB, free: 22.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.5121, allocations: 68.41 kB / 0.8228 GB, free: 22.83 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.5122, allocations: 120.6 kB / 0.8229 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.5125, allocations: 299.5 kB / 0.8232 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.5125, allocations: 3.938 kB / 0.8232 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5125, allocations: 1.812 kB / 0.8232 GB, free: 22.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.5125, allocations: 0 / 0.8232 GB, free: 22.62 MB / 0.6355 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.0007942/0.5133, allocations: 0.6047 MB / 0.8238 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5133, allocations: 14.5 kB / 0.8238 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.729e-05/0.5134, allocations: 33.41 kB / 0.8238 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.5138, allocations: 198.5 kB / 0.824 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.5138, allocations: 16.34 kB / 0.824 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.5138, allocations: 25.42 kB / 0.824 GB, free: 21.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005151/0.5144, allocations: 299.1 kB / 0.8243 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.5144, allocations: 0.7031 kB / 0.8243 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/0.5144, allocations: 10.86 kB / 0.8243 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.5144, allocations: 9.172 kB / 0.8243 GB, free: 21.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004021/0.5148, allocations: 208.5 kB / 0.8245 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008977/0.5157, allocations: 0.6127 MB / 0.8251 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.5161, allocations: 202.4 kB / 0.8253 GB, free: 21.29 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.5162, allocations: 86.58 kB / 0.8254 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.5163, allocations: 7.062 kB / 0.8254 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003451/0.5166, allocations: 199.5 kB / 0.8256 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.843e-06/0.5166, allocations: 0 / 0.8256 GB, free: 21.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0006644/0.5173, allocations: 348.2 kB / 0.826 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.5173, allocations: 108.4 kB / 0.8261 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.5175, allocations: 224.8 kB / 0.8263 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/0.5175, allocations: 36.3 kB / 0.8263 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.222e-05/0.5176, allocations: 159.1 kB / 0.8265 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.5176, allocations: 58.05 kB / 0.8265 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/0.5177, allocations: 73.12 kB / 0.8266 GB, free: 20.55 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.562e-05/0.5177, allocations: 334.4 kB / 0.8269 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.5179, allocations: 114.4 kB / 0.827 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.5182, allocations: 177.9 kB / 0.8272 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003762/0.5186, allocations: 314.9 kB / 0.8275 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.5186, allocations: 0 / 0.8275 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005436/0.5191, allocations: 437.6 kB / 0.8279 GB, free: 19.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.5191, allocations: 90.75 kB / 0.828 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5191, allocations: 2.094 kB / 0.828 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5192, allocations: 7.75 kB / 0.828 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001521/0.5193, allocations: 48.75 kB / 0.828 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.5193, allocations: 7.594 kB / 0.828 GB, free: 19.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001791/0.5195, allocations: 65.98 kB / 0.8281 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.843e-05/0.5195, allocations: 16.77 kB / 0.8281 GB, free: 19.54 MB / 0.6355 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 9.928e-05/0.5196, allocations: 149 kB / 0.8283 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.5196, allocations: 26.45 kB / 0.8283 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000476/0.5201, allocations: 275.4 kB / 0.8286 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5201, allocations: 3.078 kB / 0.8286 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.5201, allocations: 4 kB / 0.8286 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5201, allocations: 1.75 kB / 0.8286 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007063/0.5208, allocations: 0.5999 MB / 0.8291 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5208, allocations: 0 / 0.8291 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.056e-05/0.5209, allocations: 29.2 kB / 0.8292 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.5209, allocations: 1.859 kB / 0.8292 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.521, allocations: 8.344 kB / 0.8292 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.521, allocations: 5.469 kB / 0.8292 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.521, allocations: 0 / 0.8292 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.5214, allocations: 362.4 kB / 0.8295 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.5214, allocations: 25.92 kB / 0.8296 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.5214, allocations: 9.266 kB / 0.8296 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.5216, allocations: 44.27 kB / 0.8296 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/0.5217, allocations: 46.97 kB / 0.8297 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.5217, allocations: 11.39 kB / 0.8297 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.476e-05/0.5218, allocations: 142.2 kB / 0.8298 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5218, allocations: 0 / 0.8298 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002213/0.522, allocations: 67.7 kB / 0.8299 GB, free: 18.56 MB / 0.6355 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.0001102/0.5221, allocations: 109.6 kB / 0.83 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005229/0.5227, allocations: 438.3 kB / 0.8304 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5227, allocations: 0 / 0.8304 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001933/0.5229, allocations: 105.6 kB / 0.8305 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.5231, allocations: 40.81 kB / 0.8305 GB, free: 18.16 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006244/0.5237, allocations: 407.5 kB / 0.8309 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.5239, allocations: 0.7434 MB / 0.8316 GB, free: 17.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.524, allocations: 28.61 kB / 0.8317 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of SimCode: time 7.41e-07/0.524, allocations: 3.938 kB / 0.8317 GB, free: 17.18 MB / 0.6355 GB Notification: Performance of Templates: time 0.00473/0.5287, allocations: 3.104 MB / 0.8347 GB, free: 16.88 MB / 0.6355 GB " [Timeout remaining time 659] 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.175056759966537] Failed to read output from testmodel.py, exit status != 0: 0.534862482920289 0.5441782199999999 0.029711367000000002 Calling exit ...