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.0009633/0.0009633, allocations: 73.88 kB / 20.66 MB, free: 3.848 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.001007/0.001007, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.002/1.002, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.09863/0.09863, allocations: 17.46 MB / 278.5 MB, free: 11.41 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.724e-06/1.724e-06, allocations: 0 / 354.8 MB, free: 9.586 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.583e-05/1.755e-05, allocations: 2.312 kB / 354.8 MB, free: 9.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.01258/0.0126, allocations: 13.61 MB / 368.4 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.2941/0.3067, allocations: 161.5 MB / 0.5175 GB, free: 9.688 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.3089, allocations: 87.31 kB / 0.5176 GB, free: 9.602 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003402/0.3123, allocations: 1.248 MB / 0.5188 GB, free: 8.363 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003424/0.3157, allocations: 1.683 MB / 0.5204 GB, free: 6.668 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003922/0.3196, allocations: 1.945 MB / 0.5223 GB, free: 4.715 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005054/0.3247, allocations: 4.183 MB / 0.5264 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.3258, allocations: 0.7192 MB / 0.5271 GB, free: 15.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002648/0.3284, allocations: 2.12 MB / 0.5292 GB, free: 13.62 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0021/0.3305, allocations: 1.554 MB / 0.5307 GB, free: 12.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004232/0.331, allocations: 332 kB / 0.531 GB, free: 11.74 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.3341, allocations: 1.505 MB / 0.5325 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006928/0.3348, allocations: 1.043 MB / 0.5335 GB, free: 9.184 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.336, allocations: 1.219 MB / 0.5347 GB, free: 7.961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00447/0.3404, allocations: 4.281 MB / 0.5389 GB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3404, allocations: 0 / 0.5389 GB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3404, allocations: 0 / 0.5389 GB, free: 3.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.034e-05/0.3405, allocations: 4 kB / 0.5389 GB, free: 3.66 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.00496/0.3454, allocations: 4.431 MB / 0.5432 GB, free: 15.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.3455, allocations: 8.031 kB / 0.5432 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.3477, allocations: 1.566 MB / 0.5447 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002258/0.35, allocations: 1.965 MB / 0.5467 GB, free: 11.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002845/0.3502, allocations: 433.4 kB / 0.5471 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/0.3506, allocations: 332.3 kB / 0.5474 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003769/0.3544, allocations: 3.122 MB / 0.5504 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.686e-05/0.3544, allocations: 192 / 0.5504 GB, free: 7.656 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002155/0.3546, allocations: 136.3 kB / 0.5506 GB, free: 7.523 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005586/0.3552, allocations: 479.7 kB / 0.551 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004683/0.3599, allocations: 4.384 MB / 0.5553 GB, free: 2.664 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2211/0.5809, allocations: 12.76 MB / 0.5678 GB, free: 29.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.5823, allocations: 0.9264 MB / 0.5687 GB, free: 29.39 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007945/0.5831, allocations: 0.517 MB / 0.5692 GB, free: 29.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00735/0.5905, allocations: 6.254 MB / 0.5753 GB, free: 28.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.5905, allocations: 52.78 kB / 0.5753 GB, free: 28.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=136): time 2.936e-06/0.5905, allocations: 0.625 kB / 0.5753 GB, free: 28.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=190): time 0.03939/0.6299, allocations: 12.75 MB / 0.5878 GB, free: 27.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005692/0.6356, allocations: 5.147 MB / 0.5928 GB, free: 23.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.6375, allocations: 1.747 MB / 0.5945 GB, free: 23.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003242/0.6379, allocations: 55.42 kB / 0.5946 GB, free: 23.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.6389, allocations: 2.015 MB / 0.5965 GB, free: 22.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004989/0.6394, allocations: 0.6744 MB / 0.5972 GB, free: 22.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009731/0.6404, allocations: 0.6815 MB / 0.5979 GB, free: 22.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.481e-05/0.6404, allocations: 481.5 kB / 0.5983 GB, free: 21.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001399/0.6418, allocations: 0.9082 MB / 0.5992 GB, free: 21.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001773/0.6436, allocations: 2.006 MB / 0.6012 GB, free: 20.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004908/0.6485, allocations: 4.226 MB / 0.6053 GB, free: 18.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/0.6485, allocations: 7.438 kB / 0.6053 GB, free: 18.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=309) (initialization): time 0.01199/0.6605, allocations: 4.749 MB / 0.6099 GB, free: 18.35 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.6605, allocations: 16 kB / 0.61 GB, free: 18.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/0.6605, allocations: 24.78 kB / 0.61 GB, free: 18.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/0.673, allocations: 3.56 MB / 0.6135 GB, free: 16.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/0.6756, allocations: 0.8624 MB / 0.6143 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.6884, allocations: 12.74 MB / 0.6267 GB, free: 2.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.6909, allocations: 107.9 kB / 0.6268 GB, free: 2.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003682/0.6912, allocations: 379.8 kB / 0.6272 GB, free: 1.832 MB / 426.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: 110 * Number of states: 0 () * Number of discrete variables: 4 (otherSubstances.substanceDefinitionVar.data.phase,otherSubstances.substanceDefinitionVar.SelfClustering,liquidWater.substanceDefinitionVar.data.phase,liquidWater.substanceDefinitionVar.SelfClustering) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 245 * 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.001438/0.6927, allocations: 325.1 kB / 0.6275 GB, free: 1.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006108/0.6933, allocations: 302.5 kB / 0.6278 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01275/0.706, allocations: 5.162 MB / 0.6328 GB, free: 12.15 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.706, allocations: 23.94 kB / 0.6329 GB, free: 12.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.637e-05/0.7061, allocations: 4 kB / 0.6329 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.7061, allocations: 7.969 kB / 0.6329 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/0.7242, allocations: 9.562 MB / 0.6422 GB, free: 2.781 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.7242, allocations: 6.688 kB / 0.6422 GB, free: 2.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/0.7263, allocations: 0.5862 MB / 0.6428 GB, free: 2.203 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01358/0.7399, allocations: 3.637 MB / 0.6463 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002553/0.7401, allocations: 115.8 kB / 0.6464 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/0.7552, allocations: 13.97 MB / 0.6601 GB, free: 32 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00533/0.7605, allocations: 4.776 MB / 0.6648 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01261/0.7732, allocations: 4.848 MB / 0.6695 GB, free: 6.203 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003827/0.7735, allocations: 197.1 kB / 0.6697 GB, free: 6.012 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.7739, allocations: 47.95 kB / 0.6697 GB, free: 5.965 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/0.7751, allocations: 67.06 kB / 0.6698 GB, free: 5.902 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005168/0.7756, allocations: 225.6 kB / 0.67 GB, free: 5.68 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/0.7758, allocations: 195.9 kB / 0.6702 GB, free: 5.488 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0007608/0.7766, allocations: 0.9358 MB / 0.6711 GB, free: 4.613 MB / 474.7 MB Notification: Performance of sort global known variables: time 7e-08/0.7766, allocations: 0 / 0.6711 GB, free: 4.613 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00293/0.7795, allocations: 1.058 MB / 0.6721 GB, free: 3.555 MB / 474.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.0006494/0.7802, allocations: 468.5 kB / 0.6726 GB, free: 3.164 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005272/0.7854, allocations: 3.542 MB / 0.676 GB, free: 15.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.7854, allocations: 5.094 kB / 0.6761 GB, free: 15.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00323/0.7887, allocations: 2.409 MB / 0.6784 GB, free: 13.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.7901, allocations: 0.5982 MB / 0.679 GB, free: 12.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008899/0.799, allocations: 6.607 MB / 0.6854 GB, free: 6.043 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006382/0.7997, allocations: 0.7234 MB / 0.6861 GB, free: 5.301 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001933/0.8016, allocations: 0.8205 MB / 0.6869 GB, free: 4.477 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001997/0.8036, allocations: 0.7281 MB / 0.6877 GB, free: 3.746 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/0.8036, allocations: 0 / 0.6877 GB, free: 3.746 MB / 490.7 MB Notification: Performance of Templates: time 0.3043/1.108, allocations: 95.37 MB / 0.7808 GB, free: 139.3 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.022819226142019]