Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.001557/0.001557, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.002082/0.002082, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.9725/0.9725, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.7628/0.7628, allocations: 154.9 MB / 415.9 MB, free: 268 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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.72e-07/8.72e-07, allocations: 0 / 0.5219 GB, free: 1.395 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.729e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01056/0.01058, allocations: 13.08 MB / 0.5347 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007271/0.01785, allocations: 5.362 MB / 0.5399 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.01896, allocations: 79.31 kB / 0.54 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007068/0.01967, allocations: 367.1 kB / 0.5403 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.02173, allocations: 1.354 MB / 0.5417 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.02337, allocations: 1.129 MB / 0.5428 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003143/0.02651, allocations: 3.39 MB / 0.5461 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.02758, allocations: 0.8418 MB / 0.5469 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.02983, allocations: 1.621 MB / 0.5485 GB, free: 6.172 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009773/0.03081, allocations: 0.807 MB / 0.5493 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001408/0.03095, allocations: 101.7 kB / 0.5494 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005595/0.03151, allocations: 291.4 kB / 0.5496 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.03173, allocations: 302.8 kB / 0.5499 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004066/0.03213, allocations: 435 kB / 0.5503 GB, free: 4.258 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.0333, allocations: 1.041 MB / 0.5514 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.0333, allocations: 0 / 0.5514 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.52e-07/0.03331, allocations: 0 / 0.5514 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.03331, allocations: 0 / 0.5514 GB, free: 3.215 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001418/0.03473, allocations: 1.51 MB / 0.5528 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.03477, allocations: 8.031 kB / 0.5528 GB, free: 1.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/0.03507, allocations: 204 kB / 0.553 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009638/0.03604, allocations: 0.9587 MB / 0.554 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.03607, allocations: 50.91 kB / 0.554 GB, free: 436 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.391e-05/0.03614, allocations: 83.06 kB / 0.5541 GB, free: 356 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007527/0.0369, allocations: 0.6971 MB / 0.5548 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.03692, allocations: 3.938 kB / 0.5548 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.03697, allocations: 32 kB / 0.5548 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-05/0.037, allocations: 19.98 kB / 0.5548 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.03728, allocations: 207.2 kB / 0.555 GB, free: 15.31 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.03977, allocations: 2.946 MB / 0.5579 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.04, allocations: 141.5 kB / 0.558 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.04007, allocations: 70.14 kB / 0.5581 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/0.04017, allocations: 35.88 kB / 0.5581 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.04019, allocations: 37.39 kB / 0.5582 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.0402, allocations: 0 / 0.5582 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.00037/0.04057, allocations: 273 kB / 0.5584 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.04059, allocations: 55.41 kB / 0.5585 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/0.04107, allocations: 0.737 MB / 0.5592 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/0.0411, allocations: 29.7 kB / 0.5592 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005396/0.04164, allocations: 0.5611 MB / 0.5598 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.83e-05/0.04171, allocations: 127.9 kB / 0.5599 GB, free: 10.15 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.04182, allocations: 123.9 kB / 0.56 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.04193, allocations: 0.5004 MB / 0.5605 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.367e-05/0.04203, allocations: 62.36 kB / 0.5606 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.04226, allocations: 464.8 kB / 0.561 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.04256, allocations: 379.7 kB / 0.5614 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.04256, allocations: 1.312 kB / 0.5614 GB, free: 8.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000441/0.043, allocations: 436.7 kB / 0.5618 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.04302, allocations: 14.66 kB / 0.5618 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.04303, allocations: 4 kB / 0.5618 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.04304, allocations: 8 kB / 0.5618 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.04327, allocations: 115.8 kB / 0.5619 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.04328, allocations: 11.98 kB / 0.562 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003037/0.04358, allocations: 56.78 kB / 0.562 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.04361, allocations: 23.98 kB / 0.562 GB, free: 7.742 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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.0001538/0.04376, allocations: 193.6 kB / 0.5622 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.04386, allocations: 103.4 kB / 0.5623 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.0442, allocations: 278.8 kB / 0.5626 GB, free: 7.168 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.04421, allocations: 5.062 kB / 0.5626 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.04421, allocations: 0 / 0.5626 GB, free: 7.164 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000182/0.04439, allocations: 261.3 kB / 0.5628 GB, free: 6.879 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008227/0.04522, allocations: 0.8978 MB / 0.5637 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.04522, allocations: 0 / 0.5637 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.04539, allocations: 72.73 kB / 0.5638 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.04539, allocations: 4 kB / 0.5638 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.04541, allocations: 13.12 kB / 0.5638 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.04541, allocations: 0 / 0.5638 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.04541, allocations: 7.938 kB / 0.5638 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004037/0.04582, allocations: 0.5096 MB / 0.5643 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.04597, allocations: 136.6 kB / 0.5644 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.04602, allocations: 8 kB / 0.5644 GB, free: 5.148 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.04621, allocations: 15.98 kB / 0.5645 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.04626, allocations: 36.8 kB / 0.5645 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.04628, allocations: 15.98 kB / 0.5645 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002578/0.04654, allocations: 447.2 kB / 0.5649 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.04654, allocations: 0.7188 kB / 0.5649 GB, free: 4.648 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004817/0.04702, allocations: 279.3 kB / 0.5652 GB, free: 4.375 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.0002507/0.04727, allocations: 190 kB / 0.5654 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.04754, allocations: 231.3 kB / 0.5656 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.04754, allocations: 0 / 0.5656 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.04764, allocations: 98.41 kB / 0.5657 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.04874, allocations: 496.5 kB / 0.5662 GB, free: 3.426 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.05058, allocations: 1.457 MB / 0.5676 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.05069, allocations: 199.2 kB / 0.5678 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003161/0.05101, allocations: 143.2 kB / 0.5679 GB, free: 1.582 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/0.05159, allocations: 425.8 kB / 0.5683 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/0.05159, allocations: 0 / 0.5683 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of Templates: time 0.02104/0.07263, allocations: 17.89 MB / 0.5858 GB, free: 15.74 MB / 0.5573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.19928086688742]