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.0009387/0.0009387, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.00108/0.00108, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9398/0.9398, allocations: 177.1 MB / 203.7 MB, free: 5.492 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.742/0.742, allocations: 154.9 MB / 415.1 MB, free: 252 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.383e-06/1.383e-06, allocations: 0 / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.118e-05, allocations: 4.594 kB / 0.5211 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.009845/0.009866, allocations: 13.08 MB / 0.5339 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007414/0.01728, allocations: 5.366 MB / 0.5392 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00155/0.01883, allocations: 83.31 kB / 0.5392 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008766/0.01971, allocations: 364.9 kB / 0.5396 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.02214, allocations: 1.347 MB / 0.5409 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.02394, allocations: 1.137 MB / 0.542 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0029/0.02684, allocations: 3.394 MB / 0.5453 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.02793, allocations: 0.8363 MB / 0.5461 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002196/0.03013, allocations: 1.615 MB / 0.5477 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009588/0.03109, allocations: 0.7997 MB / 0.5485 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001631/0.03125, allocations: 96 kB / 0.5486 GB, free: 5.418 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000559/0.03181, allocations: 299.4 kB / 0.5489 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.03199, allocations: 300.1 kB / 0.5492 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003483/0.03234, allocations: 434.9 kB / 0.5496 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.03347, allocations: 1.051 MB / 0.5506 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.03347, allocations: 0 / 0.5506 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.182e-06/0.03347, allocations: 1.25 kB / 0.5506 GB, free: 3.352 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.081e-05/0.0335, allocations: 0 / 0.5506 GB, free: 3.352 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.001535/0.03503, allocations: 1.504 MB / 0.5521 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.03507, allocations: 12.53 kB / 0.5521 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.03542, allocations: 198.8 kB / 0.5523 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009225/0.03635, allocations: 0.9531 MB / 0.5532 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.03638, allocations: 60.78 kB / 0.5533 GB, free: 0.5664 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.03645, allocations: 75.94 kB / 0.5533 GB, free: 0.4922 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.03707, allocations: 0.6971 MB / 0.554 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.03709, allocations: 4 kB / 0.554 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.857e-05/0.03713, allocations: 24 kB / 0.554 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.03716, allocations: 31.92 kB / 0.5541 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002574/0.03742, allocations: 203.8 kB / 0.5543 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002315/0.03973, allocations: 2.951 MB / 0.5571 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.03995, allocations: 137 kB / 0.5573 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.935e-05/0.04002, allocations: 68.53 kB / 0.5573 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.04012, allocations: 44.64 kB / 0.5574 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.04015, allocations: 37.39 kB / 0.5574 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 1.904e-06/0.04015, allocations: 0 / 0.5574 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0003626/0.04052, allocations: 273 kB / 0.5577 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.04054, allocations: 59.41 kB / 0.5577 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004759/0.04102, allocations: 0.739 MB / 0.5585 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.04104, allocations: 37.7 kB / 0.5585 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000277/0.04132, allocations: 0.5611 MB / 0.559 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.04139, allocations: 119 kB / 0.5592 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.04149, allocations: 127.8 kB / 0.5593 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.04161, allocations: 0.4988 MB / 0.5598 GB, free: 9.652 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.04169, allocations: 57.22 kB / 0.5598 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.04193, allocations: 464.8 kB / 0.5603 GB, free: 9.004 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002979/0.04223, allocations: 384 kB / 0.5606 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.04223, allocations: 0 / 0.5606 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004271/0.04266, allocations: 430 kB / 0.561 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.04267, allocations: 11.98 kB / 0.5611 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.04268, allocations: 8 kB / 0.5611 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.0427, allocations: 8 kB / 0.5611 GB, free: 8.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.04291, allocations: 116.5 kB / 0.5612 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.04292, allocations: 9 kB / 0.5612 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.04316, allocations: 59.61 kB / 0.5612 GB, free: 7.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.04318, allocations: 25.28 kB / 0.5613 GB, free: 7.887 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.000154/0.04334, allocations: 192.4 kB / 0.5614 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.04342, allocations: 103.4 kB / 0.5615 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.04374, allocations: 280.4 kB / 0.5618 GB, free: 7.312 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.04375, allocations: 4 kB / 0.5618 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.04375, allocations: 0 / 0.5618 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001719/0.04392, allocations: 265.4 kB / 0.5621 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008417/0.04476, allocations: 0.8937 MB / 0.5629 GB, free: 6.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.04477, allocations: 4 kB / 0.5629 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.04493, allocations: 68.62 kB / 0.563 GB, free: 6.004 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.04493, allocations: 8.672 kB / 0.563 GB, free: 5.996 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.04495, allocations: 8 kB / 0.563 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.04496, allocations: 4.781 kB / 0.563 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.04496, allocations: 0 / 0.563 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.04535, allocations: 0.5139 MB / 0.5635 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.0455, allocations: 127.3 kB / 0.5637 GB, free: 5.309 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.04555, allocations: 16.55 kB / 0.5637 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.04574, allocations: 20.77 kB / 0.5637 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.04578, allocations: 31.83 kB / 0.5637 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.04581, allocations: 20.83 kB / 0.5637 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002764/0.04608, allocations: 442.7 kB / 0.5642 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.04608, allocations: 5.094 kB / 0.5642 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005522/0.04663, allocations: 283.3 kB / 0.5644 GB, free: 4.512 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.0002755/0.04691, allocations: 183.2 kB / 0.5646 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003016/0.04721, allocations: 223.2 kB / 0.5648 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.04721, allocations: 4 kB / 0.5648 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.04732, allocations: 101.6 kB / 0.5649 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.04845, allocations: 0.4947 MB / 0.5654 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001853/0.0503, allocations: 1.452 MB / 0.5668 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001139/0.05041, allocations: 191.2 kB / 0.567 GB, free: 1.871 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000352/0.05077, allocations: 146.4 kB / 0.5672 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/0.05136, allocations: 425.8 kB / 0.5676 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/0.05136, allocations: 0 / 0.5676 GB, free: 1.309 MB / 0.5261 GB Notification: Performance of Templates: time 0.02021/0.07157, allocations: 17.66 MB / 0.5848 GB, free: 156 kB / 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: 3.9281306830234826]