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.001377/0.001377, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001566/0.001566, allocations: 214.2 kB / 23.01 MB, free: 4.566 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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.1499/0.1499, allocations: 23.88 MB / 337.1 MB, free: 11.18 MB / 270.1 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: 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.002271/0.002271, allocations: 67.89 kB / 472.5 MB, free: 7.152 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4064, allocations: 59.87 MB / 0.5199 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.007812/0.4142, allocations: 6.634 MB / 0.5264 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0199/0.4341, allocations: 14.72 MB / 0.5407 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001734/0.4359, allocations: 21.41 kB / 0.5407 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.4372, allocations: 339.3 kB / 0.5411 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004921/0.4421, allocations: 1.119 MB / 0.5422 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009106/0.4512, allocations: 1.997 MB / 0.5441 GB, free: 8.324 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004225/0.4555, allocations: 1.61 MB / 0.5457 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.4572, allocations: 0.8131 MB / 0.5465 GB, free: 7.102 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.4588, allocations: 0.7778 MB / 0.5472 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.4606, allocations: 0.8421 MB / 0.5481 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003087/0.4609, allocations: 149.5 kB / 0.5482 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008212/0.4691, allocations: 1.48 MB / 0.5497 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007155/0.4699, allocations: 347.5 kB / 0.55 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.4715, allocations: 0.749 MB / 0.5507 GB, free: 5.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01415/0.4856, allocations: 3.229 MB / 0.5539 GB, free: 3.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4856, allocations: 4 kB / 0.5539 GB, free: 3.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.4856, allocations: 1.219 kB / 0.5539 GB, free: 3.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.087e-05/0.4857, allocations: 0 / 0.5539 GB, free: 3.469 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.005699/0.4914, allocations: 1.804 MB / 0.5556 GB, free: 2.199 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4915, allocations: 9.281 kB / 0.5556 GB, free: 2.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.4931, allocations: 330.1 kB / 0.556 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.4946, allocations: 0.6165 MB / 0.5566 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.4947, allocations: 100 kB / 0.5567 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002293/0.495, allocations: 129 kB / 0.5568 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.4977, allocations: 1.541 MB / 0.5583 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.4978, allocations: 0 / 0.5583 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001213/0.4979, allocations: 55.55 kB / 0.5583 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.4979, allocations: 30.06 kB / 0.5584 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003067/0.501, allocations: 1.885 MB / 0.5602 GB, free: 15.66 MB / 414.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.008292/0.5093, allocations: 4.6 MB / 0.5647 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.5113, allocations: 1.267 MB / 0.5659 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.512, allocations: 487.7 kB / 0.5664 GB, free: 9.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005811/0.5178, allocations: 2.782 MB / 0.5691 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.5179, allocations: 39.22 kB / 0.5692 GB, free: 7.047 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004547/0.5183, allocations: 91.34 kB / 0.5692 GB, free: 6.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.555e-06/0.5183, allocations: 0 / 0.5692 GB, free: 6.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.02011/0.5384, allocations: 4.216 MB / 0.5734 GB, free: 2.703 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.155e-05/0.5385, allocations: 68.39 kB / 0.5734 GB, free: 2.621 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/0.5394, allocations: 0.5706 MB / 0.574 GB, free: 2.039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.5395, allocations: 45.64 kB / 0.574 GB, free: 1.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.5399, allocations: 0.6015 MB / 0.5746 GB, free: 1.379 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000355/0.5403, allocations: 368.8 kB / 0.575 GB, free: 1.016 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003388/0.5406, allocations: 234.8 kB / 0.5752 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.5408, allocations: 398.7 kB / 0.5756 GB, free: 392 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007232/0.5416, allocations: 422.4 kB / 0.576 GB, free: 15.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.5426, allocations: 0.7862 MB / 0.5767 GB, free: 15.02 MB / 430.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.02641/0.569, allocations: 4.485 MB / 0.5811 GB, free: 10.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.569, allocations: 4 kB / 0.5811 GB, free: 10.37 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006079/0.5751, allocations: 1.787 MB / 0.5829 GB, free: 8.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.5751, allocations: 12 kB / 0.5829 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/0.5752, allocations: 12 kB / 0.5829 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003839/0.579, allocations: 473.8 kB / 0.5833 GB, free: 8.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.5801, allocations: 295.5 kB / 0.5836 GB, free: 7.789 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007545/0.5877, allocations: 4.198 MB / 0.5877 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.5888, allocations: 43.98 kB / 0.5878 GB, free: 3.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/0.5889, allocations: 67.98 kB / 0.5878 GB, free: 3.246 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.0005982/0.5895, allocations: 278 kB / 0.5881 GB, free: 2.965 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.5897, allocations: 91.38 kB / 0.5882 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006916/0.5967, allocations: 1.765 MB / 0.5899 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.5967, allocations: 12 kB / 0.5899 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.5967, allocations: 0 / 0.5899 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.924e-05/0.5967, allocations: 11.91 kB / 0.5899 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008679/0.6054, allocations: 2.92 MB / 0.5928 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.6054, allocations: 4 kB / 0.5928 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.6061, allocations: 199.8 kB / 0.593 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00491/0.611, allocations: 0.5369 MB / 0.5935 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.6112, allocations: 35.98 kB / 0.5935 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00845/0.6196, allocations: 5.375 MB / 0.5988 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/0.6196, allocations: 4.031 kB / 0.5988 GB, free: 7.535 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007672/0.6273, allocations: 2.331 MB / 0.6011 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003795/0.6277, allocations: 87.42 kB / 0.6011 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.6278, allocations: 31.98 kB / 0.6012 GB, free: 5.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.6283, allocations: 24 kB / 0.6012 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002708/0.6286, allocations: 108.7 kB / 0.6013 GB, free: 4.898 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.97e-05/0.6287, allocations: 43.98 kB / 0.6013 GB, free: 4.855 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005494/0.6293, allocations: 387.1 kB / 0.6017 GB, free: 4.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6293, allocations: 0 / 0.6017 GB, free: 4.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002264/0.6315, allocations: 0.6041 MB / 0.6023 GB, free: 3.875 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.001443/0.633, allocations: 0.633 MB / 0.6029 GB, free: 3.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002676/0.6356, allocations: 1.395 MB / 0.6043 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6356, allocations: 0 / 0.6043 GB, free: 1.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.6372, allocations: 0.9628 MB / 0.6052 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/0.6384, allocations: 214.7 kB / 0.6054 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.6426, allocations: 2.293 MB / 0.6077 GB, free: 14.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008136/0.6434, allocations: 1.065 MB / 0.6087 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005042/0.6439, allocations: 211.3 kB / 0.6089 GB, free: 12.95 MB / 462.1 MB Notification: Performance of SimCode: time 1.313e-06/0.6439, allocations: 0 / 0.6089 GB, free: 12.95 MB / 462.1 MB Notification: Performance of Templates: time 0.04/0.6839, allocations: 29.38 MB / 0.6376 GB, free: 15.62 MB / 494.1 MB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 25.373666001018137] Failed to read output from testmodel.py, exit status != 0: 0.6939068200008478 0.708305241 0.219105385 Calling exit ...