Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.WaterVaporization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 225.6 MB / 248.5 MB, free: 3.633 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08513/0.08513, allocations: 15.54 MB / 318.9 MB, free: 13.65 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") translateModel(Chemical.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.WaterVaporization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 70.64 kB / 446.1 MB, free: 47.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1032, allocations: 56.56 MB / 0.4909 GB, free: 20.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.WaterVaporization): time 0.006822/0.11, allocations: 6.564 MB / 0.4973 GB, free: 15.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.1234, allocations: 14.62 MB / 0.5116 GB, free: 2.316 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.1248, allocations: 11.94 kB / 0.5116 GB, free: 2.305 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009883/0.1258, allocations: 345.2 kB / 0.5119 GB, free: 1.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.1289, allocations: 1.115 MB / 0.513 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005403/0.1343, allocations: 1.965 MB / 0.5149 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002851/0.1371, allocations: 1.607 MB / 0.5165 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.1384, allocations: 0.8063 MB / 0.5173 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.1395, allocations: 0.7636 MB / 0.518 GB, free: 11.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001478/0.141, allocations: 0.8485 MB / 0.5188 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.1413, allocations: 155.9 kB / 0.519 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007056/0.1484, allocations: 1.478 MB / 0.5204 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005114/0.1489, allocations: 346.9 kB / 0.5208 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.1499, allocations: 0.7467 MB / 0.5215 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007675/0.1576, allocations: 3.12 MB / 0.5245 GB, free: 4.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1576, allocations: 0 / 0.5245 GB, free: 4.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.021e-06/0.1576, allocations: 0 / 0.5245 GB, free: 4.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.384e-05/0.1576, allocations: 0 / 0.5245 GB, free: 4.941 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.003534/0.1612, allocations: 1.876 MB / 0.5264 GB, free: 3.008 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.1612, allocations: 12.03 kB / 0.5264 GB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001324/0.1625, allocations: 315.7 kB / 0.5267 GB, free: 2.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.1636, allocations: 0.6806 MB / 0.5273 GB, free: 1.969 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/0.1637, allocations: 98.94 kB / 0.5274 GB, free: 1.871 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002047/0.1639, allocations: 132.4 kB / 0.5276 GB, free: 1.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.1664, allocations: 1.53 MB / 0.5291 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.1665, allocations: 3.938 kB / 0.5291 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.1666, allocations: 52 kB / 0.5291 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.1666, allocations: 32 kB / 0.5291 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002908/0.1695, allocations: 1.861 MB / 0.531 GB, free: 14.22 MB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007439/0.177, allocations: 4.641 MB / 0.5355 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.1791, allocations: 1.271 MB / 0.5367 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007899/0.1798, allocations: 483.7 kB / 0.5372 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006617/0.1865, allocations: 4.588 MB / 0.5417 GB, free: 2.531 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1865, allocations: 47.16 kB / 0.5417 GB, free: 2.477 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003743/0.1869, allocations: 91.34 kB / 0.5418 GB, free: 2.387 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.284e-06/0.1869, allocations: 0 / 0.5418 GB, free: 2.387 MB / 398.1 MB Notification: Performance of matching and sorting (n=100): time 0.01887/0.2057, allocations: 4.335 MB / 0.546 GB, free: 13.97 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.995e-05/0.2058, allocations: 64.41 kB / 0.5461 GB, free: 13.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.2066, allocations: 0.5822 MB / 0.5467 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.2067, allocations: 45.7 kB / 0.5467 GB, free: 13.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004297/0.2071, allocations: 0.5898 MB / 0.5473 GB, free: 12.65 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.2075, allocations: 364.9 kB / 0.5476 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003561/0.2078, allocations: 234.8 kB / 0.5479 GB, free: 12.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.208, allocations: 398.7 kB / 0.5482 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007318/0.2088, allocations: 418.4 kB / 0.5486 GB, free: 11.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.2098, allocations: 0.7745 MB / 0.5494 GB, free: 10.31 MB / 414.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: gas.temperature = gas.temperature_start (liquid.temperature_start = gas.temperature_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.02501/0.2349, allocations: 4.552 MB / 0.5538 GB, free: 5.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.2349, allocations: 4 kB / 0.5538 GB, free: 5.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005761/0.2406, allocations: 1.775 MB / 0.5556 GB, free: 3.789 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.054e-05/0.2407, allocations: 12 kB / 0.5556 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.2407, allocations: 8 kB / 0.5556 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003633/0.2443, allocations: 481.6 kB / 0.5561 GB, free: 3.293 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.2454, allocations: 291.5 kB / 0.5563 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007628/0.253, allocations: 4.384 MB / 0.5606 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009033/0.2539, allocations: 52.05 kB / 0.5607 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.254, allocations: 67.97 kB / 0.5607 GB, free: 14.23 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: gas.temperature = gas.temperature_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (143): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000535/0.2545, allocations: 273.4 kB / 0.561 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.2548, allocations: 99.33 kB / 0.5611 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006719/0.2615, allocations: 1.743 MB / 0.5628 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.2615, allocations: 12 kB / 0.5628 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.2615, allocations: 0 / 0.5628 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.372e-05/0.2615, allocations: 7.922 kB / 0.5628 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008347/0.2699, allocations: 2.933 MB / 0.5657 GB, free: 9.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.2699, allocations: 12.05 kB / 0.5657 GB, free: 9.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007823/0.2707, allocations: 199.7 kB / 0.5659 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004689/0.2753, allocations: 0.537 MB / 0.5664 GB, free: 8.27 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.2755, allocations: 39.92 kB / 0.5664 GB, free: 8.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009027/0.2846, allocations: 5.681 MB / 0.572 GB, free: 2.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.2846, allocations: 8 kB / 0.572 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00746/0.292, allocations: 2.308 MB / 0.5742 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003033/0.2923, allocations: 164.4 kB / 0.5744 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.2924, allocations: 23.98 kB / 0.5744 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.293, allocations: 28 kB / 0.5744 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.2932, allocations: 108.7 kB / 0.5746 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.663e-05/0.2933, allocations: 43.98 kB / 0.5746 GB, free: 15.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005404/0.2939, allocations: 383.1 kB / 0.575 GB, free: 15 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2939, allocations: 0 / 0.575 GB, free: 15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001948/0.2958, allocations: 0.6002 MB / 0.5755 GB, free: 14.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 4 (H2O_gaseuous.logn,otherSubstances.logn,liquidWater.amountOfBonds,liquidWater.logn) * 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 (100): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (2,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001237/0.2971, allocations: 0.6387 MB / 0.5762 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002595/0.2996, allocations: 1.379 MB / 0.5775 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.2997, allocations: 7.938 kB / 0.5775 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.3012, allocations: 0.951 MB / 0.5785 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.3023, allocations: 211.2 kB / 0.5787 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.3063, allocations: 2.27 MB / 0.5809 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.3071, allocations: 1.073 MB / 0.5819 GB, free: 7.715 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004802/0.3076, allocations: 207.3 kB / 0.5821 GB, free: 7.512 MB / 446.1 MB Notification: Performance of SimCode: time 1.242e-06/0.3076, allocations: 0 / 0.5821 GB, free: 7.512 MB / 446.1 MB Notification: Performance of Templates: time 0.2356/0.5432, allocations: 29.02 MB / 0.6105 GB, free: 102.1 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Examples.WaterVaporization.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Examples.WaterVaporization.sim & ./Chemical_Chemical.Examples.WaterVaporization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 24.656129271024838] Failed to read output from testmodel.py, exit status != 0: 0.726573744090274 0.5618886120000001 0.40197847400000003 Calling exit ...