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.0009935/0.0009935, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009965/0.0009965, allocations: 173 kB / 23.49 MB, free: 1.055 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.9343/0.9343, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.7562/0.7562, allocations: 154.8 MB / 415.1 MB, free: 492 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.322e-06/1.322e-06, allocations: 0 / 0.5206 GB, free: 2.238 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.908e-05, allocations: 9.391 kB / 0.5206 GB, free: 2.234 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03083/0.03084, allocations: 43.18 MB / 0.5628 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.04249, allocations: 10.66 MB / 0.5732 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.04363, allocations: 79.31 kB / 0.5733 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.04476, allocations: 0.6504 MB / 0.5739 GB, free: 11.67 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.003162/0.04792, allocations: 2.055 MB / 0.5759 GB, free: 9.617 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.04999, allocations: 1.278 MB / 0.5771 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.05241, allocations: 3.483 MB / 0.5805 GB, free: 4.844 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000738/0.05315, allocations: 0.8553 MB / 0.5814 GB, free: 3.973 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.05513, allocations: 1.906 MB / 0.5832 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006772/0.05581, allocations: 0.7983 MB / 0.584 GB, free: 1.277 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 9.589e-05/0.0559, allocations: 100 kB / 0.5841 GB, free: 1.18 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/0.05706, allocations: 0.7208 MB / 0.5848 GB, free: 468 kB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0001871/0.05725, allocations: 306.7 kB / 0.5851 GB, free: 160 kB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0003337/0.05758, allocations: 442.9 kB / 0.5855 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.05887, allocations: 1.374 MB / 0.5869 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.05887, allocations: 4 kB / 0.5869 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.082e-06/0.05887, allocations: 4 kB / 0.5869 GB, free: 14.34 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.05888, allocations: 0 / 0.5869 GB, free: 14.34 MB / 0.5573 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.001383/0.06026, allocations: 1.565 MB / 0.5884 GB, free: 12.73 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.06029, allocations: 8.031 kB / 0.5884 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/0.06058, allocations: 211.9 kB / 0.5886 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.06164, allocations: 1.061 MB / 0.5897 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.06167, allocations: 50.38 kB / 0.5897 GB, free: 11.37 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.471e-05/0.06174, allocations: 79.94 kB / 0.5898 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007657/0.06251, allocations: 0.7557 MB / 0.5905 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.06253, allocations: 3.953 kB / 0.5905 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.59e-05/0.06257, allocations: 35.92 kB / 0.5906 GB, free: 10.41 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.0626, allocations: 23.98 kB / 0.5906 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004241/0.06303, allocations: 251.6 kB / 0.5908 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00225/0.06528, allocations: 2.923 MB / 0.5937 GB, free: 7.125 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.06554, allocations: 169 kB / 0.5938 GB, free: 6.949 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.06565, allocations: 77.98 kB / 0.5939 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.06579, allocations: 59.95 kB / 0.594 GB, free: 6.812 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.06581, allocations: 41.39 kB / 0.594 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=31): time 1.203e-06/0.06581, allocations: 0 / 0.594 GB, free: 6.762 MB / 0.5573 GB Notification: Performance of matching and sorting (n=31): time 0.0004376/0.06625, allocations: 293.5 kB / 0.5943 GB, free: 6.469 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.06628, allocations: 55.41 kB / 0.5943 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007298/0.06701, allocations: 0.7571 MB / 0.5951 GB, free: 5.629 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.06704, allocations: 37.7 kB / 0.5951 GB, free: 5.586 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003056/0.06734, allocations: 0.5534 MB / 0.5957 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.321e-05/0.06742, allocations: 123 kB / 0.5958 GB, free: 4.902 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.06755, allocations: 127.9 kB / 0.5959 GB, free: 4.77 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.0677, allocations: 0.4926 MB / 0.5964 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001154/0.06781, allocations: 61.27 kB / 0.5964 GB, free: 4.211 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.0681, allocations: 472.8 kB / 0.5969 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.06848, allocations: 389.5 kB / 0.5973 GB, free: 3.133 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/0.06849, allocations: 7.938 kB / 0.5973 GB, free: 3.125 MB / 0.5573 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005321/0.06902, allocations: 448.4 kB / 0.5977 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.06904, allocations: 7.984 kB / 0.5977 GB, free: 2.672 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.06905, allocations: 8 kB / 0.5977 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.06907, allocations: 8 kB / 0.5977 GB, free: 2.656 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/0.06972, allocations: 116.5 kB / 0.5978 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.06973, allocations: 19.92 kB / 0.5978 GB, free: 2.523 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.06996, allocations: 47.67 kB / 0.5979 GB, free: 2.477 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.07, allocations: 31.98 kB / 0.5979 GB, free: 2.445 MB / 0.5573 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.0001794/0.07017, allocations: 188.4 kB / 0.5981 GB, free: 2.25 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.07028, allocations: 107.3 kB / 0.5982 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004431/0.07073, allocations: 301.6 kB / 0.5985 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.07073, allocations: 4 kB / 0.5985 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.07074, allocations: 0 / 0.5985 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002895/0.07103, allocations: 287.1 kB / 0.5988 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.07215, allocations: 1.047 MB / 0.5998 GB, free: 432 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.07216, allocations: 4 kB / 0.5998 GB, free: 428 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.07234, allocations: 71.97 kB / 0.5999 GB, free: 356 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.07235, allocations: 4 kB / 0.5999 GB, free: 352 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.07237, allocations: 11.98 kB / 0.5999 GB, free: 340 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.07237, allocations: 4 kB / 0.5999 GB, free: 336 kB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.07237, allocations: 8.094 kB / 0.5999 GB, free: 328 kB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.07293, allocations: 0.5367 MB / 0.6004 GB, free: 15.74 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.07311, allocations: 139.3 kB / 0.6006 GB, free: 15.61 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.07317, allocations: 8 kB / 0.6006 GB, free: 15.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.07337, allocations: 23.97 kB / 0.6006 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.07344, allocations: 31.83 kB / 0.6006 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.07347, allocations: 19.98 kB / 0.6006 GB, free: 15.52 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004004/0.07387, allocations: 482.9 kB / 0.6011 GB, free: 15.05 MB / 0.573 GB Notification: Performance of sort global known variables: time 5e-08/0.07387, allocations: 0 / 0.6011 GB, free: 15.05 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006858/0.07455, allocations: 359.1 kB / 0.6014 GB, free: 14.7 MB / 0.573 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.0005556/0.07511, allocations: 379.5 kB / 0.6018 GB, free: 14.33 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.07548, allocations: 244.5 kB / 0.602 GB, free: 14.09 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.07548, allocations: 4 kB / 0.602 GB, free: 14.09 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.07562, allocations: 108.9 kB / 0.6021 GB, free: 13.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.07684, allocations: 489.7 kB / 0.6026 GB, free: 13.53 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.07871, allocations: 1.457 MB / 0.604 GB, free: 12 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.07884, allocations: 191 kB / 0.6042 GB, free: 11.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003408/0.07918, allocations: 167.6 kB / 0.6044 GB, free: 11.64 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.0793, allocations: 80.47 kB / 0.6044 GB, free: 11.56 MB / 0.573 GB Notification: Performance of SimCode: time 6.71e-07/0.0793, allocations: 0 / 0.6044 GB, free: 11.56 MB / 0.573 GB Notification: Performance of Templates: time 0.02137/0.1007, allocations: 18.83 MB / 0.6228 GB, free: 9.188 MB / 0.5886 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.062524082139134]