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.0009182/0.0009182, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.002862/0.002862, allocations: 173 kB / 23.36 MB, free: 1.133 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.9555/0.9555, allocations: 177.1 MB / 203.8 MB, free: 5.484 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.7726/0.7726, allocations: 154.9 MB / 415.1 MB, free: 248 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.453e-06/1.453e-06, allocations: 0 / 480.4 MB, free: 6.516 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.693e-05, allocations: 5.812 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.01444/0.01447, allocations: 13.13 MB / 493.5 MB, free: 9.406 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.009003/0.02347, allocations: 5.498 MB / 499 MB, free: 3.949 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001419/0.02489, allocations: 79.31 kB / 499.1 MB, free: 3.871 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007654/0.02566, allocations: 367 kB / 499.4 MB, free: 3.512 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.02798, allocations: 1.349 MB / 0.489 GB, free: 2.168 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.02975, allocations: 1.131 MB / 0.4901 GB, free: 1.043 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.003463/0.03321, allocations: 3.399 MB / 0.4935 GB, free: 13.64 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.03431, allocations: 0.8519 MB / 0.4943 GB, free: 12.77 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/0.03674, allocations: 1.606 MB / 0.4959 GB, free: 11.17 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008482/0.03759, allocations: 0.7614 MB / 0.4966 GB, free: 10.41 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.0377, allocations: 100 kB / 0.4967 GB, free: 10.31 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005202/0.03822, allocations: 291.4 kB / 0.497 GB, free: 10.03 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002043/0.03843, allocations: 302.7 kB / 0.4973 GB, free: 9.73 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003766/0.0388, allocations: 437 kB / 0.4977 GB, free: 9.305 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00375/0.04255, allocations: 1.043 MB / 0.4987 GB, free: 8.258 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.04256, allocations: 0 / 0.4987 GB, free: 8.258 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.04256, allocations: 0 / 0.4987 GB, free: 8.258 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.75e-05/0.04259, allocations: 0 / 0.4987 GB, free: 8.258 MB / 474.7 MB 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.00198/0.04457, allocations: 1.353 MB / 0.5 GB, free: 6.875 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/0.0446, allocations: 9.094 kB / 0.5 GB, free: 6.867 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.04486, allocations: 164.6 kB / 0.5002 GB, free: 6.707 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008655/0.04572, allocations: 0.7424 MB / 0.5009 GB, free: 5.938 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.04576, allocations: 64.16 kB / 0.501 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.04583, allocations: 75.94 kB / 0.5011 GB, free: 5.801 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.04653, allocations: 0.6945 MB / 0.5017 GB, free: 5.031 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.04655, allocations: 4 kB / 0.5017 GB, free: 5.027 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.04659, allocations: 28 kB / 0.5018 GB, free: 5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.201e-05/0.04662, allocations: 28.39 kB / 0.5018 GB, free: 4.973 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.04689, allocations: 199.1 kB / 0.502 GB, free: 4.777 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.04881, allocations: 2.174 MB / 0.5041 GB, free: 2.539 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.04901, allocations: 160.1 kB / 0.5043 GB, free: 2.371 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.447e-05/0.04908, allocations: 68.56 kB / 0.5043 GB, free: 2.301 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.412e-05/0.04917, allocations: 32.97 kB / 0.5044 GB, free: 2.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.04919, allocations: 42.5 kB / 0.5044 GB, free: 2.219 MB / 474.7 MB Notification: Performance of pre-optimization done (n=31): time 1.272e-06/0.0492, allocations: 0 / 0.5044 GB, free: 2.219 MB / 474.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002777/0.04947, allocations: 195 kB / 0.5046 GB, free: 2.023 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.0495, allocations: 59.39 kB / 0.5046 GB, free: 1.953 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.05019, allocations: 0.6731 MB / 0.5053 GB, free: 1.266 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.05022, allocations: 34.23 kB / 0.5053 GB, free: 1.227 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.05039, allocations: 411.1 kB / 0.5057 GB, free: 0.8203 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.039e-05/0.05045, allocations: 115 kB / 0.5058 GB, free: 0.707 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.594e-05/0.05055, allocations: 114.2 kB / 0.5059 GB, free: 0.5898 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.267e-05/0.05062, allocations: 330.5 kB / 0.5063 GB, free: 268 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.456e-05/0.05072, allocations: 68.11 kB / 0.5063 GB, free: 200 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.05095, allocations: 395.1 kB / 0.5067 GB, free: 15.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.05125, allocations: 331.2 kB / 0.507 GB, free: 15.31 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.05126, allocations: 4 kB / 0.507 GB, free: 15.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0003571/0.05161, allocations: 348.5 kB / 0.5073 GB, free: 14.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.05163, allocations: 9.25 kB / 0.5074 GB, free: 14.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.05164, allocations: 5.344 kB / 0.5074 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.05165, allocations: 8 kB / 0.5074 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.05186, allocations: 115.8 kB / 0.5075 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.05187, allocations: 15.38 kB / 0.5075 GB, free: 14.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.05209, allocations: 59.61 kB / 0.5075 GB, free: 14.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.81e-05/0.05212, allocations: 20 kB / 0.5076 GB, free: 14.74 MB / 490.7 MB 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.0001371/0.05225, allocations: 148.5 kB / 0.5077 GB, free: 14.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.374e-05/0.05232, allocations: 63.86 kB / 0.5078 GB, free: 14.52 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.0526, allocations: 253.3 kB / 0.508 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.05261, allocations: 8.547 kB / 0.508 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.05261, allocations: 0.5625 kB / 0.508 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001472/0.05276, allocations: 228.8 kB / 0.5082 GB, free: 14.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007716/0.05353, allocations: 0.7727 MB / 0.509 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.05353, allocations: 9.469 kB / 0.509 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.05369, allocations: 67.89 kB / 0.5091 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.05369, allocations: 4 kB / 0.5091 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.05371, allocations: 12.91 kB / 0.5091 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.05371, allocations: 0 / 0.5091 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.05371, allocations: 4.969 kB / 0.5091 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.05406, allocations: 427.2 kB / 0.5095 GB, free: 12.65 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.0542, allocations: 121.7 kB / 0.5096 GB, free: 12.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.05426, allocations: 8 kB / 0.5096 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.05443, allocations: 15.98 kB / 0.5096 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.05448, allocations: 32.7 kB / 0.5097 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.0545, allocations: 15.98 kB / 0.5097 GB, free: 12.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.05474, allocations: 332.6 kB / 0.51 GB, free: 12.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05474, allocations: 0 / 0.51 GB, free: 12.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005527/0.05529, allocations: 279.4 kB / 0.5103 GB, free: 11.87 MB / 490.7 MB 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.0002556/0.05555, allocations: 160.5 kB / 0.5104 GB, free: 11.71 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.05583, allocations: 224.8 kB / 0.5106 GB, free: 11.49 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.05584, allocations: 10.75 kB / 0.5106 GB, free: 11.48 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.05594, allocations: 88.62 kB / 0.5107 GB, free: 11.39 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000988/0.05692, allocations: 494.1 kB / 0.5112 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.05885, allocations: 1.421 MB / 0.5126 GB, free: 9.508 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.05897, allocations: 190.4 kB / 0.5128 GB, free: 9.305 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003638/0.05933, allocations: 140.5 kB / 0.5129 GB, free: 9.191 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.05988, allocations: 362.2 kB / 0.5132 GB, free: 8.832 MB / 490.7 MB Notification: Performance of SimCode: time 1.303e-06/0.05988, allocations: 0 / 0.5132 GB, free: 8.832 MB / 490.7 MB Notification: Performance of Templates: time 0.02094/0.08082, allocations: 17.54 MB / 0.5304 GB, free: 7.953 MB / 0.4948 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.9787407387048006]