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.001255/0.001255, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001446/0.001446, allocations: 216.5 kB / 22.26 MB, free: 5.121 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.992 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.135/0.135, allocations: 23.9 MB / 336.3 MB, free: 11.16 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: "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_master_Chemical_Obsolete_Examples_WaterVaporization",fmuType="me",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.001943/0.001943, allocations: 67.88 kB / 471.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.312, allocations: 59.87 MB / 0.5186 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.006907/0.3189, allocations: 6.638 MB / 0.5251 GB, free: 4.863 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.3359, allocations: 14.72 MB / 0.5395 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.337, allocations: 22.22 kB / 0.5395 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.3381, allocations: 343 kB / 0.5398 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.3414, allocations: 1.115 MB / 0.5409 GB, free: 9.246 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005944/0.3474, allocations: 2.002 MB / 0.5429 GB, free: 8.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002503/0.3499, allocations: 1.616 MB / 0.5445 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.351, allocations: 0.8153 MB / 0.5453 GB, free: 6.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009672/0.3519, allocations: 0.7755 MB / 0.546 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/0.3531, allocations: 0.8414 MB / 0.5468 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001913/0.3533, allocations: 150.2 kB / 0.547 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005/0.3583, allocations: 1.49 MB / 0.5484 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003721/0.3587, allocations: 340.4 kB / 0.5488 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008407/0.3595, allocations: 0.7486 MB / 0.5495 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007357/0.3669, allocations: 3.223 MB / 0.5526 GB, free: 3.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3669, allocations: 0 / 0.5526 GB, free: 3.285 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3669, allocations: 5.344 kB / 0.5526 GB, free: 3.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.025e-05/0.3669, allocations: 0 / 0.5526 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.00435/0.3713, allocations: 1.805 MB / 0.5544 GB, free: 2.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.3713, allocations: 9.219 kB / 0.5544 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002676/0.3716, allocations: 195.1 kB / 0.5546 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.3731, allocations: 318.2 kB / 0.5549 GB, free: 1.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.3744, allocations: 0.6198 MB / 0.5555 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.772e-05/0.3745, allocations: 100 kB / 0.5556 GB, free: 1.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.3747, allocations: 136.3 kB / 0.5557 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.3774, allocations: 1.538 MB / 0.5572 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.3774, allocations: 0 / 0.5572 GB, free: 208 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.3775, allocations: 55 kB / 0.5573 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.842e-05/0.3776, allocations: 30.94 kB / 0.5573 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002948/0.3805, allocations: 1.88 MB / 0.5592 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.007813/0.3883, allocations: 4.597 MB / 0.5637 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.3903, allocations: 1.271 MB / 0.5649 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00078/0.3911, allocations: 495.7 kB / 0.5654 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005968/0.3971, allocations: 2.766 MB / 0.5681 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.3971, allocations: 47.16 kB / 0.5681 GB, free: 6.875 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004116/0.3975, allocations: 91.34 kB / 0.5682 GB, free: 6.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/0.3976, allocations: 0 / 0.5682 GB, free: 6.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01933/0.4169, allocations: 4.225 MB / 0.5723 GB, free: 2.523 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.4169, allocations: 64.41 kB / 0.5724 GB, free: 2.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007885/0.4177, allocations: 0.5783 MB / 0.5729 GB, free: 1.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.173e-05/0.4178, allocations: 41.7 kB / 0.573 GB, free: 1.809 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.4183, allocations: 0.5937 MB / 0.5736 GB, free: 1.207 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.4186, allocations: 372.9 kB / 0.5739 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/0.4189, allocations: 238.8 kB / 0.5742 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.4192, allocations: 394.7 kB / 0.5745 GB, free: 212 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007463/0.4199, allocations: 418.4 kB / 0.5749 GB, free: 15.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.421, allocations: 0.7862 MB / 0.5757 GB, free: 14.85 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.025/0.446, allocations: 4.493 MB / 0.5801 GB, free: 10.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.446, allocations: 4 kB / 0.5801 GB, free: 10.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005638/0.4516, allocations: 1.782 MB / 0.5818 GB, free: 8.395 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.244e-05/0.4517, allocations: 12.94 kB / 0.5818 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.4517, allocations: 12 kB / 0.5819 GB, free: 8.371 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003788/0.4555, allocations: 480.9 kB / 0.5823 GB, free: 7.898 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009698/0.4564, allocations: 283.6 kB / 0.5826 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007349/0.4638, allocations: 4.206 MB / 0.5867 GB, free: 3.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009299/0.4647, allocations: 40 kB / 0.5867 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.4649, allocations: 71.97 kB / 0.5868 GB, free: 3.066 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.0005561/0.4654, allocations: 277.9 kB / 0.5871 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.4656, allocations: 95.5 kB / 0.5872 GB, free: 2.691 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007021/0.4726, allocations: 1.753 MB / 0.5889 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/0.4726, allocations: 12 kB / 0.5889 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.4727, allocations: 7.938 kB / 0.5889 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.4727, allocations: 3.984 kB / 0.5889 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008593/0.4813, allocations: 2.924 MB / 0.5917 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.4813, allocations: 4 kB / 0.5917 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/0.482, allocations: 199.7 kB / 0.5919 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004958/0.487, allocations: 0.5334 MB / 0.5925 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.4871, allocations: 39.98 kB / 0.5925 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008239/0.4953, allocations: 5.375 MB / 0.5977 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/0.4953, allocations: 7.969 kB / 0.5978 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007346/0.5027, allocations: 2.332 MB / 0.6 GB, free: 4.973 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000323/0.503, allocations: 91.36 kB / 0.6001 GB, free: 4.883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.5031, allocations: 24 kB / 0.6001 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005181/0.5036, allocations: 20 kB / 0.6002 GB, free: 4.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002377/0.5039, allocations: 112.6 kB / 0.6003 GB, free: 4.727 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.372e-05/0.504, allocations: 43.98 kB / 0.6003 GB, free: 4.684 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005168/0.5045, allocations: 395.1 kB / 0.6007 GB, free: 4.301 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5045, allocations: 0 / 0.6007 GB, free: 4.301 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001967/0.5064, allocations: 0.5924 MB / 0.6013 GB, free: 3.707 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.008897/0.5153, allocations: 3.416 MB / 0.6046 GB, free: 228 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002557/0.5179, allocations: 1.391 MB / 0.606 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.5179, allocations: 4 kB / 0.606 GB, free: 14.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001436/0.5193, allocations: 0.9666 MB / 0.6069 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.5205, allocations: 209.5 kB / 0.6071 GB, free: 13.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01971/0.5402, allocations: 9.597 MB / 0.6165 GB, free: 3.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007568/0.541, allocations: 1.073 MB / 0.6175 GB, free: 2.383 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007836/0.5417, allocations: 227 kB / 0.6177 GB, free: 2.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006986/0.5424, allocations: 0.5031 MB / 0.6182 GB, free: 1.656 MB / 462.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5424, allocations: 0 / 0.6182 GB, free: 1.656 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08/0.6224, allocations: 33.32 MB / 0.6508 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/16.57, allocations: 4 kB / 0.6508 GB, free: 0.5938 MB / 494.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 & python3 -m fmpy simulate --output-file Chemical_master_Chemical.Obsolete.Examples.WaterVaporization_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.04 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: 21.265412040003866] Failed to read output from testmodel.py, exit status != 0: 16.706726655997045 16.728310021 16.357222764 Calling exit ...