Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_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.001302/0.001302, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001295/0.001295, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.011/1.011, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.09272/0.09272, allocations: 17.45 MB / 277.7 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.Obsolete.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterVaporization") translateModel(Chemical.Obsolete.Examples.WaterVaporization,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.WaterVaporization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 354 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.414e-05/1.548e-05, allocations: 2.312 kB / 354 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.005319/0.005334, allocations: 6.279 MB / 360.3 MB, free: 4.309 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008072/0.01341, allocations: 9.06 MB / 369.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006666/0.01407, allocations: 23.81 kB / 369.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005807/0.01465, allocations: 245.8 kB / 369.6 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001886/0.01654, allocations: 0.9809 MB / 370.6 MB, free: 9.965 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.01865, allocations: 1.263 MB / 371.8 MB, free: 8.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001579/0.02023, allocations: 1.664 MB / 373.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008443/0.02107, allocations: 0.8385 MB / 374.4 MB, free: 6.168 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.0221, allocations: 1.104 MB / 375.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007119/0.02281, allocations: 0.6898 MB / 376.1 MB, free: 4.371 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001641/0.02297, allocations: 156 kB / 376.3 MB, free: 4.219 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001649/0.02462, allocations: 0.8696 MB / 377.2 MB, free: 3.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.02483, allocations: 350.8 kB / 377.5 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007473/0.02558, allocations: 0.5457 MB / 378.1 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.02803, allocations: 2.113 MB / 380.2 MB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02804, allocations: 7.922 kB / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02804, allocations: 0 / 380.2 MB, free: 336 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.02805, allocations: 0 / 380.2 MB, free: 336 kB / 346.7 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.001819/0.02987, allocations: 1.786 MB / 382 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.02991, allocations: 12.03 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008873/0.0308, allocations: 0.5142 MB / 382.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006737/0.03147, allocations: 0.6262 MB / 383.1 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.407e-05/0.03152, allocations: 98.94 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.03165, allocations: 140.2 kB / 383.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.03268, allocations: 1.017 MB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.0327, allocations: 4.172 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.349e-05/0.03277, allocations: 59.92 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.03279, allocations: 36 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.03399, allocations: 0.9171 MB / 385.4 MB, free: 10.99 MB / 362.7 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.00361/0.0376, allocations: 3.222 MB / 388.6 MB, free: 7.699 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.03863, allocations: 1.17 MB / 389.8 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.03888, allocations: 254.5 kB / 390 MB, free: 6.262 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002908/0.04179, allocations: 2.222 MB / 392.2 MB, free: 4.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.04181, allocations: 46.05 kB / 392.3 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001822/0.042, allocations: 83.33 kB / 392.4 MB, free: 3.902 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 2.394e-06/0.042, allocations: 0 / 392.4 MB, free: 3.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=100): time 0.007787/0.04978, allocations: 2.989 MB / 395.4 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.04982, allocations: 64.41 kB / 395.4 MB, free: 0.793 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004091/0.05023, allocations: 0.5964 MB / 396 MB, free: 184 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.05027, allocations: 41.7 kB / 396.1 MB, free: 136 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.05056, allocations: 0.647 MB / 396.7 MB, free: 15.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.05075, allocations: 360.8 kB / 397.1 MB, free: 15.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002284/0.05098, allocations: 256.3 kB / 397.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.05115, allocations: 0.5663 MB / 397.9 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.05136, allocations: 174.5 kB / 398 MB, free: 14.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.0518, allocations: 0.6984 MB / 398.7 MB, free: 13.2 MB / 378.7 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.001561/0.05336, allocations: 1.394 MB / 400.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.05336, allocations: 4 kB / 400.1 MB, free: 11.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002355/0.05572, allocations: 1.301 MB / 401.4 MB, free: 10.26 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.05574, allocations: 12.03 kB / 401.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.05575, allocations: 15.98 kB / 401.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/0.05821, allocations: 0.678 MB / 402.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.05871, allocations: 283.6 kB / 402.4 MB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004372/0.06308, allocations: 4.313 MB / 406.7 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005005/0.06358, allocations: 43.98 kB / 406.8 MB, free: 4.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.606e-05/0.06366, allocations: 59.98 kB / 406.8 MB, free: 4.621 MB / 378.7 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.0003228/0.06398, allocations: 240.1 kB / 407.1 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.06415, allocations: 115.4 kB / 407.2 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/0.0669, allocations: 1.29 MB / 408.5 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.06691, allocations: 15.94 kB / 408.5 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.06692, allocations: 0 / 408.5 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.728e-06/0.06693, allocations: 3.984 kB / 408.5 MB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/0.0707, allocations: 2.128 MB / 410.6 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.07071, allocations: 0 / 410.6 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.07109, allocations: 199.7 kB / 410.8 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003157/0.07424, allocations: 0.8103 MB / 411.6 MB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.576e-05/0.07431, allocations: 43.92 kB / 411.7 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004525/0.07884, allocations: 5.956 MB / 417.6 MB, free: 9.344 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.07884, allocations: 11.92 kB / 417.6 MB, free: 9.332 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003002/0.08184, allocations: 1.567 MB / 419.2 MB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.08202, allocations: 79.42 kB / 419.3 MB, free: 7.613 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.51e-05/0.0821, allocations: 27.94 kB / 419.3 MB, free: 7.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002396/0.08234, allocations: 24 kB / 419.3 MB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.08251, allocations: 108.8 kB / 419.4 MB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.08257, allocations: 35.98 kB / 419.5 MB, free: 7.422 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002339/0.0828, allocations: 338.9 kB / 419.8 MB, free: 7.094 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0828, allocations: 0 / 419.8 MB, free: 7.094 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001126/0.08393, allocations: 499.2 kB / 420.3 MB, free: 6.605 MB / 394.7 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.000918/0.08485, allocations: 490.7 kB / 420.8 MB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.08602, allocations: 1.102 MB / 421.9 MB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.08603, allocations: 1.062 kB / 421.9 MB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008164/0.08684, allocations: 0.9458 MB / 422.8 MB, free: 3.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/0.08766, allocations: 230.3 kB / 423 MB, free: 3.754 MB / 394.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004103/0.09176, allocations: 1.978 MB / 425 MB, free: 1.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.09203, allocations: 213.3 kB / 425.2 MB, free: 1.461 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000829/0.09286, allocations: 217.9 kB / 425.4 MB, free: 1.246 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000728/0.09358, allocations: 377.9 kB / 425.8 MB, free: 0.875 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.09358, allocations: 0 / 425.8 MB, free: 0.875 MB / 394.7 MB Notification: Performance of Templates: time 0.1725/0.2661, allocations: 23.59 MB / 449.4 MB, free: 114 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.sim & ./Chemical_master_Chemical.Obsolete.Examples.WaterVaporization -abortSlowSimulation -alarm=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.649575358256698]