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.001635/0.001635, allocations: 106.2 kB / 16.45 MB, free: 6.488 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.001653/0.001653, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.1439/0.1439, allocations: 23.85 MB / 332.7 MB, free: 12.36 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_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.002368/0.002368, allocations: 67.91 kB / 466 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3203, allocations: 59.82 MB / 0.5135 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.00695/0.3273, allocations: 6.599 MB / 0.5199 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01881/0.3461, allocations: 14.67 MB / 0.5342 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.3479, allocations: 22.03 kB / 0.5343 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001646/0.3495, allocations: 347.1 kB / 0.5346 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00485/0.3544, allocations: 1.107 MB / 0.5357 GB, free: 8.738 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007422/0.3618, allocations: 1.973 MB / 0.5376 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003923/0.3657, allocations: 1.608 MB / 0.5392 GB, free: 6.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.3672, allocations: 0.8196 MB / 0.54 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001454/0.3687, allocations: 0.7823 MB / 0.5407 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.3705, allocations: 0.8379 MB / 0.5416 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000378/0.3709, allocations: 154.6 kB / 0.5417 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007381/0.3783, allocations: 1.475 MB / 0.5431 GB, free: 5.309 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009483/0.3792, allocations: 351.3 kB / 0.5435 GB, free: 5.078 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001622/0.3808, allocations: 0.7491 MB / 0.5442 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009874/0.3907, allocations: 3.223 MB / 0.5474 GB, free: 3.094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3907, allocations: 0 / 0.5474 GB, free: 3.094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3907, allocations: 0 / 0.5474 GB, free: 3.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.907e-05/0.3908, allocations: 1.094 kB / 0.5474 GB, free: 3.094 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.005498/0.3963, allocations: 1.884 MB / 0.5492 GB, free: 1.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3963, allocations: 10.22 kB / 0.5492 GB, free: 1.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002969/0.3966, allocations: 191.3 kB / 0.5494 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.3983, allocations: 322.3 kB / 0.5497 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.3999, allocations: 0.6873 MB / 0.5504 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-05/0.4, allocations: 102.2 kB / 0.5505 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/0.4002, allocations: 137.6 kB / 0.5506 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00319/0.4034, allocations: 1.523 MB / 0.5521 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.4034, allocations: 0 / 0.5521 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.4036, allocations: 51.03 kB / 0.5521 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.63e-05/0.4036, allocations: 35.41 kB / 0.5522 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003433/0.407, allocations: 1.861 MB / 0.554 GB, free: 14.95 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.008935/0.416, allocations: 4.658 MB / 0.5585 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.4182, allocations: 1.251 MB / 0.5598 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007969/0.419, allocations: 481.3 kB / 0.5602 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007256/0.4262, allocations: 4.615 MB / 0.5647 GB, free: 5.812 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.4263, allocations: 43.22 kB / 0.5648 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000501/0.4268, allocations: 95.33 kB / 0.5648 GB, free: 5.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.855e-06/0.4268, allocations: 0 / 0.5648 GB, free: 5.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.02082/0.4476, allocations: 4.332 MB / 0.5691 GB, free: 1.262 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.4477, allocations: 64.41 kB / 0.5691 GB, free: 1.188 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008821/0.4485, allocations: 0.5861 MB / 0.5697 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001736/0.4487, allocations: 41.7 kB / 0.5698 GB, free: 0.543 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.4492, allocations: 0.5976 MB / 0.5703 GB, free: 15.94 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/0.4496, allocations: 360.9 kB / 0.5707 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003714/0.4499, allocations: 238.8 kB / 0.5709 GB, free: 15.34 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002078/0.4501, allocations: 394.7 kB / 0.5713 GB, free: 14.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007837/0.4509, allocations: 414.4 kB / 0.5717 GB, free: 14.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.4521, allocations: 0.7784 MB / 0.5724 GB, free: 13.6 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.02728/0.4794, allocations: 4.545 MB / 0.5769 GB, free: 8.875 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.4794, allocations: 4 kB / 0.5769 GB, free: 8.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006346/0.4857, allocations: 1.767 MB / 0.5786 GB, free: 7.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/0.4858, allocations: 12 kB / 0.5786 GB, free: 7.074 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.4858, allocations: 12 kB / 0.5786 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003923/0.4897, allocations: 481.7 kB / 0.5791 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.4909, allocations: 291.5 kB / 0.5794 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008158/0.499, allocations: 4.398 MB / 0.5837 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.5001, allocations: 48.05 kB / 0.5837 GB, free: 1.566 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.5003, allocations: 71.98 kB / 0.5838 GB, free: 1.496 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.0006249/0.501, allocations: 277.4 kB / 0.584 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.5012, allocations: 87.44 kB / 0.5841 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007359/0.5086, allocations: 1.743 MB / 0.5858 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-05/0.5086, allocations: 12 kB / 0.5858 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-05/0.5086, allocations: 11.88 kB / 0.5859 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/0.5087, allocations: 3.984 kB / 0.5859 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/0.5187, allocations: 2.933 MB / 0.5887 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.699e-05/0.5188, allocations: 4 kB / 0.5887 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009897/0.5197, allocations: 199.7 kB / 0.5889 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004992/0.5247, allocations: 0.5371 MB / 0.5894 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002762/0.525, allocations: 39.98 kB / 0.5895 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00945/0.5345, allocations: 5.692 MB / 0.595 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.5345, allocations: 4.031 kB / 0.595 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008505/0.543, allocations: 2.312 MB / 0.5973 GB, free: 3.031 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004312/0.5434, allocations: 164.5 kB / 0.5975 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003308/0.5437, allocations: 20 kB / 0.5975 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007799/0.5445, allocations: 32 kB / 0.5975 GB, free: 2.801 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003202/0.5448, allocations: 100.8 kB / 0.5976 GB, free: 2.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.545, allocations: 43.98 kB / 0.5976 GB, free: 2.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000624/0.5456, allocations: 387.1 kB / 0.598 GB, free: 2.285 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5456, allocations: 0 / 0.598 GB, free: 2.285 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002521/0.5481, allocations: 0.5963 MB / 0.5986 GB, free: 1.688 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.01044/0.5586, allocations: 3.412 MB / 0.6019 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003327/0.5619, allocations: 1.371 MB / 0.6033 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.5619, allocations: 0 / 0.6033 GB, free: 12.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.5638, allocations: 0.9592 MB / 0.6042 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.5658, allocations: 214.2 kB / 0.6044 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/0.5904, allocations: 9.558 MB / 0.6137 GB, free: 1.527 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001086/0.5915, allocations: 1.065 MB / 0.6148 GB, free: 448 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001034/0.5925, allocations: 234.8 kB / 0.615 GB, free: 216 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009229/0.5935, allocations: 0.4993 MB / 0.6155 GB, free: 15.71 MB / 478.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5935, allocations: 0 / 0.6155 GB, free: 15.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09311/0.6866, allocations: 32.26 MB / 0.647 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/17.16, allocations: 8.047 kB / 0.647 GB, free: 15.7 MB / 0.4981 GB " [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: 23.62175884610042] Failed to read output from testmodel.py, exit status != 0: 17.28348923800513 17.301589183 16.907424922 Calling exit ...