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.001421/0.001421, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001788/0.001788, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.58/1.58, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.1529/0.1529, allocations: 23.87 MB / 333.4 MB, free: 1.191 MB / 254.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.00207/0.00207, allocations: 64.67 kB / 466.7 MB, free: 30.8 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1215, allocations: 59.84 MB / 0.5142 GB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.009058/0.1305, allocations: 6.589 MB / 0.5206 GB, free: 6.316 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02121/0.1518, allocations: 14.68 MB / 0.5349 GB, free: 7.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001075/0.1528, allocations: 23.81 kB / 0.535 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001108/0.1539, allocations: 345.3 kB / 0.5353 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003387/0.1573, allocations: 1.109 MB / 0.5364 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005687/0.163, allocations: 1.973 MB / 0.5383 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003006/0.166, allocations: 1.603 MB / 0.5399 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.1673, allocations: 0.8102 MB / 0.5407 GB, free: 1.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.1683, allocations: 0.7792 MB / 0.5414 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.1695, allocations: 0.8486 MB / 0.5422 GB, free: 40 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.1697, allocations: 152 kB / 0.5424 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004922/0.1747, allocations: 1.486 MB / 0.5438 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004357/0.1751, allocations: 346.9 kB / 0.5442 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009168/0.176, allocations: 0.7467 MB / 0.5449 GB, free: 13.31 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006974/0.183, allocations: 3.218 MB / 0.548 GB, free: 10.08 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.183, allocations: 0 / 0.548 GB, free: 10.08 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.183, allocations: 3.938 kB / 0.5481 GB, free: 10.08 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.829e-05/0.183, allocations: 0 / 0.5481 GB, free: 10.08 MB / 414.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.003702/0.1867, allocations: 1.876 MB / 0.5499 GB, free: 8.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.1868, allocations: 12.03 kB / 0.5499 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.953e-05/0.1868, allocations: 34.75 kB / 0.5499 GB, free: 8.098 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002381/0.1871, allocations: 190.2 kB / 0.5501 GB, free: 7.902 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001418/0.1885, allocations: 319.7 kB / 0.5504 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.1897, allocations: 0.6807 MB / 0.5511 GB, free: 6.867 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.651e-05/0.1898, allocations: 94.94 kB / 0.5512 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002169/0.19, allocations: 143.9 kB / 0.5513 GB, free: 6.633 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.1927, allocations: 1.53 MB / 0.5528 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.1927, allocations: 0 / 0.5528 GB, free: 5.066 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.1928, allocations: 52 kB / 0.5529 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.1929, allocations: 32 kB / 0.5529 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003057/0.1959, allocations: 1.86 MB / 0.5547 GB, free: 3.117 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.008031/0.2039, allocations: 4.657 MB / 0.5592 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.2061, allocations: 1.258 MB / 0.5605 GB, free: 12.96 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008241/0.207, allocations: 491.7 kB / 0.5609 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00737/0.2143, allocations: 4.607 MB / 0.5654 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.2144, allocations: 51.16 kB / 0.5655 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004722/0.2149, allocations: 91.28 kB / 0.5656 GB, free: 7.25 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.705e-06/0.2149, allocations: 0 / 0.5656 GB, free: 7.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.01966/0.2345, allocations: 4.333 MB / 0.5698 GB, free: 2.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.2346, allocations: 60.41 kB / 0.5699 GB, free: 2.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009213/0.2355, allocations: 0.5783 MB / 0.5704 GB, free: 2.18 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001395/0.2357, allocations: 45.7 kB / 0.5705 GB, free: 2.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/0.2361, allocations: 0.5898 MB / 0.5711 GB, free: 1.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.2365, allocations: 368.8 kB / 0.5714 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003837/0.2369, allocations: 238.8 kB / 0.5716 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.2372, allocations: 398.7 kB / 0.572 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007299/0.2379, allocations: 418.4 kB / 0.5724 GB, free: 124 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001111/0.239, allocations: 0.7706 MB / 0.5732 GB, free: 15.18 MB / 446.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.0254/0.2644, allocations: 4.541 MB / 0.5776 GB, free: 10.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/0.2644, allocations: 4 kB / 0.5776 GB, free: 10.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005808/0.2702, allocations: 1.775 MB / 0.5793 GB, free: 8.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/0.2702, allocations: 8 kB / 0.5793 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.2703, allocations: 12 kB / 0.5794 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003606/0.2739, allocations: 481.6 kB / 0.5798 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.2749, allocations: 291.5 kB / 0.5801 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007706/0.2826, allocations: 4.392 MB / 0.5844 GB, free: 3.203 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009896/0.2836, allocations: 44.06 kB / 0.5844 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.2838, allocations: 71.97 kB / 0.5845 GB, free: 3.09 MB / 446.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.000689/0.2844, allocations: 282.2 kB / 0.5848 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.2847, allocations: 87.44 kB / 0.5848 GB, free: 2.719 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006605/0.2913, allocations: 1.746 MB / 0.5865 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.2913, allocations: 8 kB / 0.5866 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.2913, allocations: 7.938 kB / 0.5866 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.2913, allocations: 3.984 kB / 0.5866 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2541/0.5455, allocations: 2.94 MB / 0.5894 GB, free: 66.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.5455, allocations: 2.969 kB / 0.5894 GB, free: 66.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.5463, allocations: 195.3 kB / 0.5896 GB, free: 66.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004628/0.5509, allocations: 0.5399 MB / 0.5902 GB, free: 66.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.5511, allocations: 37.36 kB / 0.5902 GB, free: 66.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007556/0.5587, allocations: 5.691 MB / 0.5957 GB, free: 62.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.5587, allocations: 6.875 kB / 0.5958 GB, free: 62.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007394/0.5661, allocations: 2.311 MB / 0.598 GB, free: 61.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.5664, allocations: 162.4 kB / 0.5982 GB, free: 61.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.5665, allocations: 24.89 kB / 0.5982 GB, free: 61.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.567, allocations: 22.88 kB / 0.5982 GB, free: 61.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003336/0.5673, allocations: 104.5 kB / 0.5983 GB, free: 61.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.5674, allocations: 46 kB / 0.5984 GB, free: 61.34 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005839/0.568, allocations: 388.6 kB / 0.5987 GB, free: 61.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.568, allocations: 1.094 kB / 0.5987 GB, free: 61.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001902/0.5699, allocations: 0.597 MB / 0.5993 GB, free: 61.11 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.008703/0.5786, allocations: 3.397 MB / 0.6026 GB, free: 59.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002687/0.5813, allocations: 1.372 MB / 0.604 GB, free: 58.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.5813, allocations: 0 / 0.604 GB, free: 58.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001459/0.5828, allocations: 0.9636 MB / 0.6049 GB, free: 58.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.584, allocations: 218.4 kB / 0.6051 GB, free: 58.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01791/0.6019, allocations: 9.55 MB / 0.6144 GB, free: 53.03 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.6026, allocations: 1.076 MB / 0.6155 GB, free: 52.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008665/0.6034, allocations: 240.2 kB / 0.6157 GB, free: 52.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006048/0.604, allocations: 0.5065 MB / 0.6162 GB, free: 51.89 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.604, allocations: 0 / 0.6162 GB, free: 51.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06515/0.6692, allocations: 32.3 MB / 0.6478 GB, free: 22.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.16/16.83, allocations: 4 kB / 0.6478 GB, free: 22.61 MB / 446.1 MB " [Timeout remaining time 643] (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: 19.928847324976232] Failed to read output from testmodel.py, exit status != 0: 17.001608820981346 17.01269193 16.827510168 Calling exit ...