Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009654/0.0009654, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009752/0.0009752, allocations: 169 kB / 23.02 MB, free: 1.547 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.9373/0.9373, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.7678/0.7678, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.5203 GB, free: 2.199 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.066e-05/2.202e-05, allocations: 2.312 kB / 0.5203 GB, free: 2.195 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01079/0.01081, allocations: 13.25 MB / 0.5333 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.008172/0.01898, allocations: 5.403 MB / 0.5386 GB, free: 15.56 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009335/0.01991, allocations: 84.09 kB / 0.5386 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006736/0.02059, allocations: 361.3 kB / 0.539 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.02239, allocations: 1.347 MB / 0.5403 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.02381, allocations: 1.13 MB / 0.5414 GB, free: 12.65 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002672/0.02648, allocations: 3.388 MB / 0.5447 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007734/0.02725, allocations: 0.8417 MB / 0.5455 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.02872, allocations: 1.498 MB / 0.547 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006921/0.02942, allocations: 0.8109 MB / 0.5478 GB, free: 6.098 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.02952, allocations: 100 kB / 0.5479 GB, free: 6 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.02997, allocations: 311.5 kB / 0.5482 GB, free: 5.695 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.03015, allocations: 304.4 kB / 0.5485 GB, free: 5.398 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003263/0.03048, allocations: 442.9 kB / 0.5489 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/0.03149, allocations: 1.078 MB / 0.5499 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.03149, allocations: 0 / 0.5499 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.232e-06/0.03149, allocations: 0 / 0.5499 GB, free: 3.883 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.087e-05/0.0315, allocations: 0.625 kB / 0.5499 GB, free: 3.883 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.001673/0.03318, allocations: 1.506 MB / 0.5514 GB, free: 2.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.03321, allocations: 12.03 kB / 0.5514 GB, free: 2.328 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003051/0.03352, allocations: 208 kB / 0.5516 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001332/0.03485, allocations: 1.069 MB / 0.5527 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.03488, allocations: 55.62 kB / 0.5527 GB, free: 0.9766 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/0.03497, allocations: 75.94 kB / 0.5528 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007952/0.03576, allocations: 0.7441 MB / 0.5535 GB, free: 76 kB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.03578, allocations: 6.125 kB / 0.5535 GB, free: 72 kB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.03583, allocations: 28 kB / 0.5536 GB, free: 44 kB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.03586, allocations: 20 kB / 0.5536 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004228/0.03628, allocations: 255.5 kB / 0.5538 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.03883, allocations: 2.94 MB / 0.5567 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.0391, allocations: 148.7 kB / 0.5568 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.03921, allocations: 80.11 kB / 0.5569 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.03932, allocations: 29.45 kB / 0.5569 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.03935, allocations: 45.38 kB / 0.557 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.03935, allocations: 3.938 kB / 0.557 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0004244/0.03977, allocations: 289.7 kB / 0.5573 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.0398, allocations: 56.47 kB / 0.5573 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000736/0.04054, allocations: 0.757 MB / 0.558 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.04059, allocations: 33.7 kB / 0.5581 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/0.0411, allocations: 0.5597 MB / 0.5586 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.04117, allocations: 123 kB / 0.5587 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.04129, allocations: 123.9 kB / 0.5589 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.04141, allocations: 0.4965 MB / 0.5593 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.04152, allocations: 61.27 kB / 0.5594 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005182/0.04204, allocations: 472.8 kB / 0.5599 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.04241, allocations: 396.6 kB / 0.5602 GB, free: 8.797 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.04241, allocations: 5.188 kB / 0.5602 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004816/0.0429, allocations: 456.3 kB / 0.5607 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.04291, allocations: 4 kB / 0.5607 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.04292, allocations: 8.875 kB / 0.5607 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.04294, allocations: 8 kB / 0.5607 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.04325, allocations: 116.5 kB / 0.5608 GB, free: 8.211 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.04326, allocations: 12.58 kB / 0.5608 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.04348, allocations: 61.36 kB / 0.5609 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.04351, allocations: 24 kB / 0.5609 GB, free: 8.117 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.0001492/0.04366, allocations: 184.5 kB / 0.5611 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.04375, allocations: 107.3 kB / 0.5612 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004261/0.04418, allocations: 314.6 kB / 0.5615 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-06/0.04419, allocations: 4 kB / 0.5615 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.04419, allocations: 0 / 0.5615 GB, free: 7.508 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002332/0.04442, allocations: 281.6 kB / 0.5618 GB, free: 7.203 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.04559, allocations: 1.041 MB / 0.5628 GB, free: 6.102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.04559, allocations: 4 kB / 0.5628 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.04582, allocations: 73.27 kB / 0.5628 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.04582, allocations: 4 kB / 0.5628 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.04585, allocations: 8.594 kB / 0.5629 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.04585, allocations: 8 kB / 0.5629 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.04585, allocations: 2.438 kB / 0.5629 GB, free: 6.008 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/0.04635, allocations: 0.5363 MB / 0.5634 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001609/0.04651, allocations: 143.2 kB / 0.5635 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.049e-05/0.04656, allocations: 8 kB / 0.5635 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.04676, allocations: 25.33 kB / 0.5636 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.04682, allocations: 35.83 kB / 0.5636 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.04684, allocations: 19.98 kB / 0.5636 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003863/0.04723, allocations: 482.9 kB / 0.5641 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/0.04723, allocations: 0.9062 kB / 0.5641 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005458/0.04778, allocations: 283.4 kB / 0.5643 GB, free: 4.457 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.0002606/0.04804, allocations: 193.4 kB / 0.5645 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003311/0.04837, allocations: 237 kB / 0.5647 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.04837, allocations: 4 kB / 0.5648 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.0485, allocations: 111.2 kB / 0.5649 GB, free: 3.918 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.04987, allocations: 498.4 kB / 0.5653 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.0522, allocations: 1.462 MB / 0.5668 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.05234, allocations: 195.2 kB / 0.5669 GB, free: 1.773 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004833/0.05282, allocations: 168 kB / 0.5671 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.05294, allocations: 76.47 kB / 0.5672 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/0.05294, allocations: 0 / 0.5672 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of Templates: time 0.01938/0.07233, allocations: 16.21 MB / 0.583 GB, free: 1.777 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.124388203024864]