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.001992/0.001992, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.00252/0.00252, allocations: 215 kB / 20.13 MB, free: 2.949 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.544/1.544, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1457/0.1457, allocations: 23.89 MB / 333.4 MB, free: 1.27 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/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: "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_WaterVaporization",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_master_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.001985/0.001985, allocations: 64.75 kB / 466.7 MB, free: 30.76 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09911, allocations: 59.84 MB / 0.5142 GB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.008568/0.1077, allocations: 6.593 MB / 0.5207 GB, free: 6.289 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.1267, allocations: 14.67 MB / 0.535 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008674/0.1276, allocations: 23.75 kB / 0.535 GB, free: 7.539 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009586/0.1286, allocations: 345.3 kB / 0.5353 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.1314, allocations: 1.109 MB / 0.5364 GB, free: 6.082 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005071/0.1365, allocations: 1.969 MB / 0.5383 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002236/0.1387, allocations: 1.61 MB / 0.5399 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001068/0.1398, allocations: 0.8141 MB / 0.5407 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.1408, allocations: 0.7753 MB / 0.5415 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.1419, allocations: 0.8447 MB / 0.5423 GB, free: 16 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002262/0.1422, allocations: 152 kB / 0.5424 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004331/0.1465, allocations: 1.486 MB / 0.5439 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003771/0.1469, allocations: 342.9 kB / 0.5442 GB, free: 14.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008498/0.1477, allocations: 0.7506 MB / 0.545 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005708/0.1534, allocations: 3.222 MB / 0.5481 GB, free: 10.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1534, allocations: 4 kB / 0.5481 GB, free: 10.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1534, allocations: 0 / 0.5481 GB, free: 10.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.73e-05/0.1535, allocations: 0 / 0.5481 GB, free: 10.05 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.003588/0.1571, allocations: 1.873 MB / 0.5499 GB, free: 8.121 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1571, allocations: 15.97 kB / 0.5499 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.473e-05/0.1572, allocations: 34.75 kB / 0.55 GB, free: 8.07 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/0.1574, allocations: 190.3 kB / 0.5502 GB, free: 7.875 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.1588, allocations: 319.7 kB / 0.5505 GB, free: 7.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.1599, allocations: 0.6846 MB / 0.5511 GB, free: 6.836 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.146e-05/0.16, allocations: 94.94 kB / 0.5512 GB, free: 6.742 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.1602, allocations: 135.9 kB / 0.5514 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002555/0.1628, allocations: 1.526 MB / 0.5528 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.1628, allocations: 0 / 0.5528 GB, free: 5.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.1629, allocations: 56 kB / 0.5529 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.1629, allocations: 32 kB / 0.5529 GB, free: 4.961 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003076/0.166, allocations: 1.857 MB / 0.5547 GB, free: 3.098 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.007767/0.1738, allocations: 4.66 MB / 0.5593 GB, free: 14.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.1759, allocations: 1.25 MB / 0.5605 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008249/0.1768, allocations: 487.7 kB / 0.561 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007062/0.1838, allocations: 4.623 MB / 0.5655 GB, free: 7.371 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.1839, allocations: 39.22 kB / 0.5655 GB, free: 7.324 MB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004005/0.1843, allocations: 91.28 kB / 0.5656 GB, free: 7.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.795e-06/0.1843, allocations: 4 kB / 0.5656 GB, free: 7.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=100): time 0.01982/0.2041, allocations: 4.328 MB / 0.5698 GB, free: 2.828 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.2042, allocations: 64.41 kB / 0.5699 GB, free: 2.754 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008551/0.205, allocations: 0.5783 MB / 0.5705 GB, free: 2.164 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.2051, allocations: 45.64 kB / 0.5705 GB, free: 2.113 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/0.2056, allocations: 0.5975 MB / 0.5711 GB, free: 1.508 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.206, allocations: 368.9 kB / 0.5715 GB, free: 1.145 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003819/0.2063, allocations: 238.8 kB / 0.5717 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002249/0.2066, allocations: 394.7 kB / 0.5721 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007484/0.2073, allocations: 414.4 kB / 0.5725 GB, free: 108 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.2084, allocations: 0.7784 MB / 0.5732 GB, free: 15.16 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.02574/0.2342, allocations: 4.533 MB / 0.5776 GB, free: 10.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.2342, allocations: 4 kB / 0.5776 GB, free: 10.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005977/0.2402, allocations: 1.778 MB / 0.5794 GB, free: 8.645 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.2402, allocations: 9 kB / 0.5794 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.2402, allocations: 12 kB / 0.5794 GB, free: 8.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003809/0.244, allocations: 477.2 kB / 0.5799 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.2451, allocations: 295.5 kB / 0.5801 GB, free: 7.863 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007919/0.253, allocations: 4.396 MB / 0.5844 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008655/0.2538, allocations: 43.98 kB / 0.5845 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.254, allocations: 67.98 kB / 0.5845 GB, free: 3.07 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.0005365/0.2545, allocations: 282.3 kB / 0.5848 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.2547, allocations: 87.44 kB / 0.5849 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006938/0.2617, allocations: 1.747 MB / 0.5866 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.2617, allocations: 16.03 kB / 0.5866 GB, free: 0.918 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.2617, allocations: 7.938 kB / 0.5866 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.2617, allocations: 3.984 kB / 0.5866 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2215/0.4832, allocations: 2.938 MB / 0.5895 GB, free: 66.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.4832, allocations: 2.594 kB / 0.5895 GB, free: 66.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008094/0.484, allocations: 195.1 kB / 0.5897 GB, free: 66.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00477/0.4888, allocations: 0.5387 MB / 0.5902 GB, free: 66.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/0.4889, allocations: 38.19 kB / 0.5902 GB, free: 66.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006994/0.4959, allocations: 5.679 MB / 0.5958 GB, free: 62.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.4959, allocations: 9.75 kB / 0.5958 GB, free: 62.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007146/0.5031, allocations: 2.315 MB / 0.5981 GB, free: 61.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004095/0.5035, allocations: 160.6 kB / 0.5982 GB, free: 61.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.5036, allocations: 27.28 kB / 0.5982 GB, free: 61.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.5042, allocations: 25 kB / 0.5983 GB, free: 61.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003227/0.5046, allocations: 101 kB / 0.5984 GB, free: 61.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001166/0.5047, allocations: 50.11 kB / 0.5984 GB, free: 61.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006108/0.5053, allocations: 387.6 kB / 0.5988 GB, free: 60.99 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5053, allocations: 0 / 0.5988 GB, free: 60.99 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002185/0.5075, allocations: 0.5973 MB / 0.5994 GB, free: 60.94 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.008874/0.5164, allocations: 3.402 MB / 0.6027 GB, free: 59.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002684/0.519, allocations: 1.373 MB / 0.604 GB, free: 58.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.519, allocations: 1.156 kB / 0.604 GB, free: 58.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001567/0.5206, allocations: 0.9618 MB / 0.605 GB, free: 58.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.5218, allocations: 211.3 kB / 0.6052 GB, free: 58.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/0.5403, allocations: 9.553 MB / 0.6145 GB, free: 52.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005319/0.5409, allocations: 1.074 MB / 0.6155 GB, free: 52.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007608/0.5416, allocations: 230.5 kB / 0.6158 GB, free: 52.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005462/0.5422, allocations: 0.5028 MB / 0.6163 GB, free: 51.72 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5422, allocations: 0 / 0.6163 GB, free: 51.72 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0604/0.6026, allocations: 32.32 MB / 0.6478 GB, free: 22.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.46/17.06, allocations: 6.719 kB / 0.6478 GB, free: 22.52 MB / 446.1 MB " [Timeout remaining time 643] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_master_Chemical_Obsolete_Examples_WaterVaporization_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-08 Chemical_master_Chemical_Obsolete_Examples_WaterVaporization.fmu > Chemical_master_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.080504273006227] Failed to read output from testmodel.py, exit status != 0: 17.236250560032204 17.253170927 17.096397281 Calling exit ...