Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Examples.WaterVaporization.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.001021/0.001021, allocations: 93.06 kB / 19.65 MB, free: 280 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.001126/0.001126, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.092/1.092, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.09134/0.09134, allocations: 17.47 MB / 277.4 MB, free: 11.55 MB / 266.7 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Examples.WaterVaporization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 353.5 MB, free: 9.852 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.234e-05, allocations: 10.19 kB / 353.5 MB, free: 9.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01689/0.01693, allocations: 13.91 MB / 367.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.3097/0.3267, allocations: 164.1 MB / 0.5191 GB, free: 7.301 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002885/0.3296, allocations: 91.25 kB / 0.5192 GB, free: 7.211 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003599/0.3332, allocations: 1.251 MB / 0.5204 GB, free: 5.973 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004588/0.3377, allocations: 1.691 MB / 0.522 GB, free: 4.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00393/0.3417, allocations: 1.952 MB / 0.5239 GB, free: 2.309 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005626/0.3473, allocations: 4.163 MB / 0.528 GB, free: 14.13 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.3485, allocations: 0.7308 MB / 0.5287 GB, free: 13.34 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003181/0.3517, allocations: 2.117 MB / 0.5308 GB, free: 11.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.354, allocations: 1.539 MB / 0.5323 GB, free: 9.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006056/0.3546, allocations: 332 kB / 0.5326 GB, free: 9.355 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.3577, allocations: 1.509 MB / 0.5341 GB, free: 7.844 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006145/0.3583, allocations: 1.055 MB / 0.5351 GB, free: 6.785 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.3597, allocations: 1.215 MB / 0.5363 GB, free: 5.566 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004694/0.3644, allocations: 4.274 MB / 0.5405 GB, free: 1.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3644, allocations: 3.984 kB / 0.5405 GB, free: 1.273 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3644, allocations: 4 kB / 0.5405 GB, free: 1.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.165e-05/0.3645, allocations: 0 / 0.5405 GB, free: 1.27 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1015 * Number of variables: 1015 Notification: Performance of Generate backend data structure: time 0.00473/0.3692, allocations: 4.397 MB / 0.5448 GB, free: 12.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.3693, allocations: 8.031 kB / 0.5448 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.3713, allocations: 1.562 MB / 0.5463 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002229/0.3735, allocations: 1.984 MB / 0.5482 GB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.3738, allocations: 433.1 kB / 0.5487 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003027/0.3741, allocations: 340.3 kB / 0.549 GB, free: 8.422 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004682/0.3788, allocations: 3.814 MB / 0.5527 GB, free: 4.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/0.3788, allocations: 8.188 kB / 0.5527 GB, free: 4.582 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001633/0.379, allocations: 132.4 kB / 0.5528 GB, free: 4.453 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003249/0.3793, allocations: 475.7 kB / 0.5533 GB, free: 3.988 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2374/0.6167, allocations: 5.54 MB / 0.5587 GB, free: 28.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01794/0.6347, allocations: 13.44 MB / 0.5718 GB, free: 27.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/0.6362, allocations: 1.053 MB / 0.5729 GB, free: 27.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009158/0.6371, allocations: 0.6111 MB / 0.5735 GB, free: 27.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008738/0.6459, allocations: 6.366 MB / 0.5797 GB, free: 26.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.6459, allocations: 55.03 kB / 0.5797 GB, free: 26.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 3.987e-06/0.6459, allocations: 0 / 0.5797 GB, free: 26.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=190): time 0.04741/0.6933, allocations: 14.64 MB / 0.594 GB, free: 24.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006939/0.7003, allocations: 5.257 MB / 0.5992 GB, free: 21.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.7021, allocations: 1.805 MB / 0.6009 GB, free: 20.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000319/0.7024, allocations: 58.05 kB / 0.601 GB, free: 20.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008409/0.7033, allocations: 2.007 MB / 0.6029 GB, free: 19.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005134/0.7038, allocations: 0.6695 MB / 0.6036 GB, free: 18.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009881/0.7048, allocations: 0.6785 MB / 0.6042 GB, free: 18.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.7048, allocations: 485.9 kB / 0.6047 GB, free: 17.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.7064, allocations: 0.9971 MB / 0.6057 GB, free: 17.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.7083, allocations: 2.109 MB / 0.6077 GB, free: 16.22 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005484/0.7138, allocations: 4.493 MB / 0.6121 GB, free: 14.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.7138, allocations: 6.438 kB / 0.6121 GB, free: 14.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01277/0.7265, allocations: 5.106 MB / 0.6171 GB, free: 10.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.7266, allocations: 16 kB / 0.6171 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/0.7266, allocations: 28.69 kB / 0.6172 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0123/0.7389, allocations: 3.685 MB / 0.6208 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/0.7419, allocations: 0.8764 MB / 0.6216 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/0.759, allocations: 13.08 MB / 0.6344 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/0.7625, allocations: 131.9 kB / 0.6345 GB, free: 8.801 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007039/0.7632, allocations: 399.8 kB / 0.6349 GB, free: 8.41 MB / 442.7 MB Warning: Assuming fixed start value for the following 1 variables: gasVolatility.rear.n_flow:VARIABLE(flow=true unit = \"mol/s\" fixed = true ) \"Molar change of the substance\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 112 * Number of states: 0 () * Number of discrete variables: 4 (liquidWater.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,otherSubstances.substanceDefinitionVar.data.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (254): * Single equations (assignments): 247 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (5,13,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(3,5), (2,3), (1,2), (4,14), (4,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001851/0.765, allocations: 327.6 kB / 0.6352 GB, free: 8.121 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008545/0.7659, allocations: 302.5 kB / 0.6355 GB, free: 7.824 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/0.7802, allocations: 5.626 MB / 0.641 GB, free: 2.227 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.301e-05/0.7803, allocations: 20 kB / 0.641 GB, free: 2.207 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.873e-05/0.7803, allocations: 9.141 kB / 0.641 GB, free: 2.199 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.198e-05/0.7803, allocations: 11.95 kB / 0.641 GB, free: 2.188 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02178/0.8021, allocations: 9.981 MB / 0.6508 GB, free: 7.992 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.8021, allocations: 4 kB / 0.6508 GB, free: 7.988 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002729/0.8049, allocations: 0.6041 MB / 0.6514 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01441/0.8193, allocations: 3.775 MB / 0.6551 GB, free: 3.625 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006445/0.8199, allocations: 119.9 kB / 0.6552 GB, free: 3.508 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01958/0.8395, allocations: 14.34 MB / 0.6692 GB, free: 4.566 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007908/0.8474, allocations: 4.884 MB / 0.6739 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/0.8668, allocations: 5.512 MB / 0.6793 GB, free: 9.871 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006288/0.8674, allocations: 190.5 kB / 0.6795 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005615/0.868, allocations: 44.72 kB / 0.6795 GB, free: 9.641 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.8698, allocations: 87.92 kB / 0.6796 GB, free: 9.555 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007973/0.8706, allocations: 236.7 kB / 0.6799 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004131/0.871, allocations: 212 kB / 0.6801 GB, free: 9.117 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001529/0.8725, allocations: 1.009 MB / 0.681 GB, free: 8.086 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.8725, allocations: 0 / 0.681 GB, free: 8.086 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003919/0.8764, allocations: 1.054 MB / 0.6821 GB, free: 7.031 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 ($STATESET1.x,liquid.temperature,H2O_gaseuous.logn,otherSubstances.logn,liquidWater.logm,gasVolatility.rear.n_flow) * 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 (142): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,13,80.0%), (1,4,100.0%), (3,5,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(4,15), (5,7), (2,3), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009674/0.8774, allocations: 457 kB / 0.6825 GB, free: 6.656 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00844/0.8858, allocations: 3.813 MB / 0.6862 GB, free: 2.855 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.8858, allocations: 3.094 kB / 0.6862 GB, free: 2.855 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005414/0.8913, allocations: 2.592 MB / 0.6888 GB, free: 212 kB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005849/0.8971, allocations: 0.603 MB / 0.6894 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01545/0.9126, allocations: 6.676 MB / 0.6959 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009452/0.9135, allocations: 0.7223 MB / 0.6966 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003308/0.9168, allocations: 0.8791 MB / 0.6974 GB, free: 7.289 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009147/0.9177, allocations: 348.2 kB / 0.6978 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of SimCode: time 2.645e-06/0.9177, allocations: 0 / 0.6978 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of Templates: time 0.3209/1.239, allocations: 80.21 MB / 0.7761 GB, free: 135.5 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Examples.WaterVaporization.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_master_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_master_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_master_Chemical.Examples.WaterVaporization.sim & ./Chemical_master_Chemical.Examples.WaterVaporization -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 6.200084180105478]