Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.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.00141/0.00141, allocations: 96.42 kB / 19.7 MB, free: 2.125 MB / 14.72 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.001881/0.001881, allocations: 204.6 kB / 22.99 MB, free: 4.934 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1548/0.1548, allocations: 23.89 MB / 337.1 MB, free: 10.97 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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.Obsolete.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterVaporization") translateModel(Chemical.Obsolete.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.WaterVaporization") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 75.88 kB / 472.4 MB, free: 7.023 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3922, allocations: 59.86 MB / 0.5198 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.007698/0.3999, allocations: 5.869 MB / 0.5255 GB, free: 5.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0187/0.4186, allocations: 12.92 MB / 0.5381 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.4204, allocations: 21.38 kB / 0.5381 GB, free: 13.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.4221, allocations: 322.1 kB / 0.5384 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006594/0.4287, allocations: 1.09 MB / 0.5395 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.4394, allocations: 2.004 MB / 0.5415 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003917/0.4433, allocations: 1.611 MB / 0.543 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.4451, allocations: 0.816 MB / 0.5438 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.447, allocations: 0.7708 MB / 0.5446 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002015/0.449, allocations: 0.8465 MB / 0.5454 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003216/0.4494, allocations: 149.3 kB / 0.5455 GB, free: 9.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005949/0.4553, allocations: 1.427 MB / 0.5469 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005949/0.4559, allocations: 340.1 kB / 0.5473 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.4572, allocations: 0.6324 MB / 0.5479 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.4678, allocations: 3.224 MB / 0.551 GB, free: 6.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.4678, allocations: 3.938 kB / 0.551 GB, free: 6.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4678, allocations: 0 / 0.551 GB, free: 6.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.461e-05/0.4679, allocations: 1.188 kB / 0.551 GB, free: 6.398 MB / 398.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.004437/0.4723, allocations: 1.802 MB / 0.5528 GB, free: 5.129 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.4723, allocations: 8.969 kB / 0.5528 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/0.4738, allocations: 323.5 kB / 0.5531 GB, free: 4.98 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.4753, allocations: 0.6156 MB / 0.5537 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.4754, allocations: 99.16 kB / 0.5538 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.4756, allocations: 132.6 kB / 0.5539 GB, free: 4.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.4785, allocations: 1.544 MB / 0.5554 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.4786, allocations: 3.938 kB / 0.5554 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/0.4787, allocations: 54.19 kB / 0.5555 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.271e-05/0.4787, allocations: 31.28 kB / 0.5555 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/0.4818, allocations: 1.858 MB / 0.5573 GB, free: 2.598 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.007448/0.4892, allocations: 3.53 MB / 0.5608 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002138/0.4914, allocations: 1.267 MB / 0.562 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007635/0.4921, allocations: 483.7 kB / 0.5625 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006004/0.4981, allocations: 2.626 MB / 0.5651 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.408e-05/0.4982, allocations: 39.22 kB / 0.5651 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004054/0.4986, allocations: 91.33 kB / 0.5652 GB, free: 10.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.975e-06/0.4986, allocations: 0 / 0.5652 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01795/0.5166, allocations: 4.208 MB / 0.5693 GB, free: 6.73 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.969e-05/0.5166, allocations: 64.41 kB / 0.5693 GB, free: 6.652 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.5174, allocations: 0.5544 MB / 0.5699 GB, free: 6.086 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.5176, allocations: 37.7 kB / 0.5699 GB, free: 6.043 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004638/0.518, allocations: 0.6015 MB / 0.5705 GB, free: 5.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003642/0.5184, allocations: 364.9 kB / 0.5709 GB, free: 5.074 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.5187, allocations: 238.8 kB / 0.5711 GB, free: 4.836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.519, allocations: 394.7 kB / 0.5715 GB, free: 4.441 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007342/0.5197, allocations: 418.4 kB / 0.5719 GB, free: 4.031 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.5208, allocations: 0.7862 MB / 0.5726 GB, free: 3.082 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.02382/0.5446, allocations: 4.485 MB / 0.577 GB, free: 14.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.5446, allocations: 4 kB / 0.577 GB, free: 14.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005615/0.5503, allocations: 1.771 MB / 0.5787 GB, free: 12.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.5503, allocations: 15.94 kB / 0.5788 GB, free: 12.63 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.865e-05/0.5503, allocations: 12 kB / 0.5788 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003436/0.5537, allocations: 485.6 kB / 0.5792 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.5548, allocations: 287.6 kB / 0.5795 GB, free: 11.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007355/0.5621, allocations: 4.105 MB / 0.5835 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009879/0.5631, allocations: 43.94 kB / 0.5836 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.5633, allocations: 71.97 kB / 0.5836 GB, free: 7.43 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.0005951/0.5639, allocations: 281.5 kB / 0.5839 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002215/0.5641, allocations: 87.38 kB / 0.584 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006418/0.5705, allocations: 1.757 MB / 0.5857 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.5705, allocations: 12 kB / 0.5857 GB, free: 5.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.5705, allocations: 4 kB / 0.5857 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.5705, allocations: 3.984 kB / 0.5857 GB, free: 5.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007953/0.5785, allocations: 2.601 MB / 0.5883 GB, free: 2.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.5785, allocations: 4 kB / 0.5883 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007413/0.5792, allocations: 196.1 kB / 0.5884 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004357/0.5836, allocations: 0.5441 MB / 0.589 GB, free: 1.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/0.5837, allocations: 43.97 kB / 0.589 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008057/0.5918, allocations: 5.241 MB / 0.5941 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.5918, allocations: 4 kB / 0.5941 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006972/0.5988, allocations: 2.332 MB / 0.5964 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.5991, allocations: 75.44 kB / 0.5965 GB, free: 9.781 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001243/0.5992, allocations: 24.03 kB / 0.5965 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004671/0.5997, allocations: 31.88 kB / 0.5965 GB, free: 9.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/0.5999, allocations: 104.8 kB / 0.5966 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.865e-05/0.6, allocations: 47.98 kB / 0.5967 GB, free: 9.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004971/0.6005, allocations: 351.1 kB / 0.597 GB, free: 9.234 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6005, allocations: 0 / 0.597 GB, free: 9.234 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002014/0.6025, allocations: 0.6002 MB / 0.5976 GB, free: 8.633 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.001316/0.6038, allocations: 0.6379 MB / 0.5982 GB, free: 7.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002557/0.6064, allocations: 1.387 MB / 0.5996 GB, free: 6.574 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6064, allocations: 0 / 0.5996 GB, free: 6.574 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.6079, allocations: 0.9589 MB / 0.6005 GB, free: 5.574 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.6091, allocations: 223.5 kB / 0.6007 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.6132, allocations: 2.278 MB / 0.603 GB, free: 3.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.6138, allocations: 490.2 kB / 0.6034 GB, free: 2.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004726/0.6142, allocations: 207.3 kB / 0.6036 GB, free: 2.305 MB / 446.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6142, allocations: 0 / 0.6036 GB, free: 2.305 MB / 446.1 MB Notification: Performance of Templates: time 0.0399/0.6541, allocations: 29.73 MB / 0.6327 GB, free: 4.629 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.WaterVaporization.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterVaporization.sim & ./Chemical_Chemical.Obsolete.Examples.WaterVaporization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.196196870005224] Failed to read output from testmodel.py, exit status != 0: 0.664003832032904 0.678692551 0.207316989 Calling exit ...