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.001419/0.001419, allocations: 98.33 kB / 19.73 MB, free: 2.23 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.002148/0.002148, allocations: 217 kB / 23.04 MB, free: 5.074 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.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.1563/0.1563, allocations: 23.85 MB / 337.1 MB, free: 11.19 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterVaporization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_Chemical_Obsolete_Examples_WaterVaporization",fmuType="cs",version="2.0",platforms={"static"}) [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.002034/0.002034, allocations: 62.56 kB / 471.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3809, allocations: 59.86 MB / 0.5193 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.006359/0.3872, allocations: 6.643 MB / 0.5258 GB, free: 4.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0181/0.4053, allocations: 14.71 MB / 0.5402 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.4065, allocations: 20.53 kB / 0.5402 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.4075, allocations: 352.3 kB / 0.5406 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004827/0.4124, allocations: 1.107 MB / 0.5416 GB, free: 9.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007939/0.4203, allocations: 2.002 MB / 0.5436 GB, free: 8.051 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003238/0.4236, allocations: 1.607 MB / 0.5452 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.425, allocations: 0.8159 MB / 0.546 GB, free: 6.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.4265, allocations: 0.778 MB / 0.5467 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.4282, allocations: 0.8465 MB / 0.5475 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002805/0.4285, allocations: 148.8 kB / 0.5477 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006012/0.4345, allocations: 1.488 MB / 0.5491 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005401/0.4351, allocations: 338.4 kB / 0.5495 GB, free: 5.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.4364, allocations: 0.7488 MB / 0.5502 GB, free: 5.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009224/0.4456, allocations: 3.225 MB / 0.5533 GB, free: 3.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4456, allocations: 0 / 0.5533 GB, free: 3.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4456, allocations: 0 / 0.5533 GB, free: 3.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.824e-05/0.4457, allocations: 0 / 0.5533 GB, free: 3.281 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.004769/0.4504, allocations: 1.81 MB / 0.5551 GB, free: 2.004 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.4505, allocations: 10 kB / 0.5551 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.731e-05/0.4505, allocations: 34 kB / 0.5552 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002263/0.4508, allocations: 187 kB / 0.5553 GB, free: 1.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.4523, allocations: 318.1 kB / 0.5556 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.4537, allocations: 0.62 MB / 0.5562 GB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.914e-05/0.4538, allocations: 95.91 kB / 0.5563 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000256/0.454, allocations: 136.3 kB / 0.5565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/0.4568, allocations: 1.538 MB / 0.558 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.4568, allocations: 1.062 kB / 0.558 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.457, allocations: 50.84 kB / 0.558 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.457, allocations: 34.84 kB / 0.558 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003095/0.4601, allocations: 1.879 MB / 0.5599 GB, free: 15.32 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.008431/0.4685, allocations: 4.605 MB / 0.5644 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.4707, allocations: 1.267 MB / 0.5656 GB, free: 10.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008608/0.4716, allocations: 491.7 kB / 0.5661 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006739/0.4783, allocations: 2.782 MB / 0.5688 GB, free: 6.988 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.4784, allocations: 39.22 kB / 0.5688 GB, free: 6.941 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004922/0.4789, allocations: 95.34 kB / 0.5689 GB, free: 6.848 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.395e-06/0.4789, allocations: 0 / 0.5689 GB, free: 6.848 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01947/0.4983, allocations: 4.219 MB / 0.5731 GB, free: 2.594 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.024e-05/0.4984, allocations: 64.41 kB / 0.5731 GB, free: 2.516 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008362/0.4992, allocations: 0.5822 MB / 0.5737 GB, free: 1.922 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001294/0.4994, allocations: 41.7 kB / 0.5737 GB, free: 1.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.4998, allocations: 0.5937 MB / 0.5743 GB, free: 1.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/0.5002, allocations: 368.9 kB / 0.5747 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.5005, allocations: 238.8 kB / 0.5749 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002163/0.5008, allocations: 390.7 kB / 0.5753 GB, free: 288 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007758/0.5015, allocations: 426.4 kB / 0.5757 GB, free: 15.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.5027, allocations: 0.7862 MB / 0.5764 GB, free: 14.91 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.02604/0.5287, allocations: 4.481 MB / 0.5808 GB, free: 10.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.5287, allocations: 8 kB / 0.5808 GB, free: 10.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006097/0.5348, allocations: 1.783 MB / 0.5826 GB, free: 8.469 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.5349, allocations: 12 kB / 0.5826 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.891e-05/0.5349, allocations: 12 kB / 0.5826 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003664/0.5386, allocations: 481.3 kB / 0.583 GB, free: 7.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5397, allocations: 295.6 kB / 0.5833 GB, free: 7.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00771/0.5474, allocations: 4.19 MB / 0.5874 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.5485, allocations: 40 kB / 0.5874 GB, free: 3.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.5486, allocations: 68.05 kB / 0.5875 GB, free: 3.148 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.0006197/0.5492, allocations: 289.9 kB / 0.5878 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.5495, allocations: 87.44 kB / 0.5879 GB, free: 2.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006712/0.5562, allocations: 1.77 MB / 0.5896 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.5562, allocations: 12 kB / 0.5896 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.5562, allocations: 3.938 kB / 0.5896 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.5562, allocations: 7.969 kB / 0.5896 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008832/0.5651, allocations: 2.92 MB / 0.5925 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.5651, allocations: 4 kB / 0.5925 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007952/0.5659, allocations: 196.1 kB / 0.5927 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004565/0.5704, allocations: 0.5444 MB / 0.5932 GB, free: 13.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.5706, allocations: 35.98 kB / 0.5932 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008316/0.5789, allocations: 5.367 MB / 0.5985 GB, free: 7.438 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.5789, allocations: 4 kB / 0.5985 GB, free: 7.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007579/0.5865, allocations: 2.336 MB / 0.6008 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/0.5868, allocations: 87.33 kB / 0.6008 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.5869, allocations: 27.98 kB / 0.6009 GB, free: 4.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.5875, allocations: 24 kB / 0.6009 GB, free: 4.906 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/0.5877, allocations: 112.7 kB / 0.601 GB, free: 4.793 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.951e-05/0.5878, allocations: 43.98 kB / 0.601 GB, free: 4.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004969/0.5883, allocations: 387.1 kB / 0.6014 GB, free: 4.375 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5883, allocations: 0 / 0.6014 GB, free: 4.375 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001888/0.5902, allocations: 0.5963 MB / 0.602 GB, free: 3.777 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.008991/0.5992, allocations: 3.416 MB / 0.6053 GB, free: 300 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002694/0.6019, allocations: 1.399 MB / 0.6067 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.6019, allocations: 0 / 0.6067 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.6034, allocations: 0.9588 MB / 0.6076 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.6047, allocations: 207 kB / 0.6078 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02186/0.6266, allocations: 9.601 MB / 0.6172 GB, free: 3.551 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008007/0.6274, allocations: 1.073 MB / 0.6182 GB, free: 2.453 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008846/0.6283, allocations: 230.8 kB / 0.6185 GB, free: 2.227 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007852/0.6291, allocations: 0.507 MB / 0.619 GB, free: 1.719 MB / 462.1 MB Notification: Performance of SimCode: time 1.863e-06/0.6291, allocations: 0 / 0.619 GB, free: 1.719 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08849/0.7176, allocations: 33.36 MB / 0.6515 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/17.66, allocations: 7.188 kB / 0.6516 GB, free: 0.6328 MB / 494.1 MB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_WaterVaporization_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Obsolete_Examples_WaterVaporization.fmu > Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.777966830995865] Failed to read output from testmodel.py, exit status != 0: 17.863057444919832 17.879803257 17.430580077 Calling exit ...