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.001012/0.001012, allocations: 93.06 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.0009375/0.0009375, allocations: 165 kB / 23.01 MB, free: 1.551 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.02/1.02, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.7852/0.7852, allocations: 154.8 MB / 414.7 MB, free: 488 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 1.643e-06/1.643e-06, allocations: 0 / 0.5206 GB, free: 1.949 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.675e-05, allocations: 4.422 kB / 0.5206 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01185/0.01187, allocations: 13.24 MB / 0.5335 GB, free: 4.676 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007899/0.01977, allocations: 5.41 MB / 0.5388 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.02097, allocations: 79.31 kB / 0.5389 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007907/0.02176, allocations: 361.3 kB / 0.5392 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002402/0.02416, allocations: 1.343 MB / 0.5405 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.02644, allocations: 1.136 MB / 0.5416 GB, free: 12.39 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00327/0.02971, allocations: 3.387 MB / 0.5449 GB, free: 8.996 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.03076, allocations: 0.8367 MB / 0.5458 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.03285, allocations: 1.507 MB / 0.5472 GB, free: 6.652 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008829/0.03373, allocations: 0.7982 MB / 0.548 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.03386, allocations: 100 kB / 0.5481 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006393/0.0345, allocations: 311.4 kB / 0.5484 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002205/0.03472, allocations: 314.7 kB / 0.5487 GB, free: 5.141 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.03512, allocations: 435.5 kB / 0.5491 GB, free: 4.715 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.03644, allocations: 1.071 MB / 0.5502 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.03644, allocations: 0 / 0.5502 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.382e-06/0.03645, allocations: 1.75 kB / 0.5502 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.458e-05/0.03647, allocations: 0 / 0.5502 GB, free: 3.641 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.001789/0.03826, allocations: 1.52 MB / 0.5517 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.0383, allocations: 8.031 kB / 0.5517 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/0.03863, allocations: 207.3 kB / 0.5519 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.03985, allocations: 1.067 MB / 0.5529 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.03989, allocations: 50.38 kB / 0.553 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.992e-05/0.03998, allocations: 79.94 kB / 0.553 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008128/0.04079, allocations: 0.745 MB / 0.5538 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.04081, allocations: 0 / 0.5538 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.04085, allocations: 28.88 kB / 0.5538 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.04089, allocations: 23.94 kB / 0.5538 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004218/0.04131, allocations: 248.3 kB / 0.554 GB, free: 15.53 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.04391, allocations: 2.946 MB / 0.5569 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/0.04422, allocations: 153.8 kB / 0.5571 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.04432, allocations: 79.66 kB / 0.5571 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.04444, allocations: 24.5 kB / 0.5572 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.04447, allocations: 49.27 kB / 0.5572 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.04447, allocations: 1.062 kB / 0.5572 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0005018/0.04497, allocations: 297 kB / 0.5575 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.04501, allocations: 56.41 kB / 0.5576 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006791/0.04569, allocations: 0.7531 MB / 0.5583 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.04572, allocations: 33.7 kB / 0.5583 GB, free: 11 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003079/0.04603, allocations: 0.5634 MB / 0.5589 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.428e-05/0.0461, allocations: 127 kB / 0.559 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/0.04622, allocations: 116 kB / 0.5591 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.04636, allocations: 0.4965 MB / 0.5596 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.04647, allocations: 65.27 kB / 0.5596 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.04677, allocations: 468.8 kB / 0.5601 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.04711, allocations: 397.4 kB / 0.5605 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.04711, allocations: 0 / 0.5605 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004952/0.04761, allocations: 448.7 kB / 0.5609 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.04763, allocations: 9.156 kB / 0.5609 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.04763, allocations: 4 kB / 0.5609 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/0.04766, allocations: 8 kB / 0.5609 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.04791, allocations: 125 kB / 0.561 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.04792, allocations: 8 kB / 0.561 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.04815, allocations: 61.02 kB / 0.5611 GB, free: 7.895 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.285e-05/0.04818, allocations: 28 kB / 0.5611 GB, free: 7.867 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.0001583/0.04834, allocations: 188.4 kB / 0.5613 GB, free: 7.672 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.458e-05/0.04843, allocations: 104.4 kB / 0.5614 GB, free: 7.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004093/0.04884, allocations: 310.2 kB / 0.5617 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.04885, allocations: 4 kB / 0.5617 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.04885, allocations: 0 / 0.5617 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002345/0.04909, allocations: 284.4 kB / 0.562 GB, free: 6.957 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.05013, allocations: 1.041 MB / 0.563 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.05013, allocations: 3.984 kB / 0.563 GB, free: 5.848 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.05031, allocations: 69.09 kB / 0.5631 GB, free: 5.781 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.05032, allocations: 4 kB / 0.5631 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.05034, allocations: 12.7 kB / 0.5631 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.05034, allocations: 0 / 0.5631 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.05034, allocations: 5.344 kB / 0.5631 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.05085, allocations: 0.5444 MB / 0.5636 GB, free: 5.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.05103, allocations: 139.2 kB / 0.5638 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.136e-05/0.05108, allocations: 8.969 kB / 0.5638 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.05128, allocations: 20.72 kB / 0.5638 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.05134, allocations: 35.95 kB / 0.5638 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.05137, allocations: 21.83 kB / 0.5638 GB, free: 4.961 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004084/0.05178, allocations: 478.9 kB / 0.5643 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.1e-08/0.05178, allocations: 0 / 0.5643 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005348/0.05231, allocations: 283.4 kB / 0.5646 GB, free: 4.219 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.0003357/0.05265, allocations: 190.4 kB / 0.5647 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003942/0.05304, allocations: 249 kB / 0.565 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.05304, allocations: 0 / 0.565 GB, free: 3.785 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.05318, allocations: 115.4 kB / 0.5651 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.05436, allocations: 0.4983 MB / 0.5656 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00208/0.05644, allocations: 1.455 MB / 0.567 GB, free: 1.738 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.05657, allocations: 195.1 kB / 0.5672 GB, free: 1.527 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003995/0.05697, allocations: 165.4 kB / 0.5673 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.05715, allocations: 76.48 kB / 0.5674 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of SimCode: time 1.283e-06/0.05715, allocations: 0 / 0.5674 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of Templates: time 0.02007/0.07722, allocations: 16.21 MB / 0.5832 GB, free: 1.531 MB / 0.5417 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.253739950247109]