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.001373/0.001373, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00175/0.00175, allocations: 215.4 kB / 22.25 MB, free: 5.262 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.458/1.458, allocations: 230.6 MB / 256 MB, free: 7.801 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.1474/0.1474, allocations: 23.99 MB / 336.4 MB, free: 10.88 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.002199/0.002199, allocations: 67.91 kB / 471.3 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3258, allocations: 59.89 MB / 0.5187 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.00662/0.3324, allocations: 5.869 MB / 0.5245 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01607/0.3484, allocations: 12.92 MB / 0.5371 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.3496, allocations: 21.72 kB / 0.5371 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.351, allocations: 319.4 kB / 0.5374 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004294/0.3553, allocations: 1.096 MB / 0.5385 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006898/0.3621, allocations: 1.997 MB / 0.5404 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003232/0.3654, allocations: 1.619 MB / 0.542 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.3672, allocations: 0.7957 MB / 0.5428 GB, free: 9.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.369, allocations: 0.7708 MB / 0.5435 GB, free: 9.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00194/0.371, allocations: 0.7485 MB / 0.5443 GB, free: 8.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007419/0.3717, allocations: 153.5 kB / 0.5444 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006219/0.3779, allocations: 1.396 MB / 0.5458 GB, free: 8.602 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008153/0.3787, allocations: 343.5 kB / 0.5461 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002211/0.381, allocations: 0.6293 MB / 0.5467 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00905/0.39, allocations: 3.219 MB / 0.5499 GB, free: 6.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.39, allocations: 4 kB / 0.5499 GB, free: 6.234 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.39, allocations: 0 / 0.5499 GB, free: 6.234 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.861e-05/0.3901, allocations: 1.156 kB / 0.5499 GB, free: 6.234 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.005258/0.3953, allocations: 1.798 MB / 0.5516 GB, free: 4.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3954, allocations: 9.156 kB / 0.5516 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003786/0.3958, allocations: 187.6 kB / 0.5518 GB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.3974, allocations: 322 kB / 0.5521 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.3991, allocations: 0.6206 MB / 0.5527 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.3992, allocations: 98.69 kB / 0.5528 GB, free: 4.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003053/0.3995, allocations: 137.3 kB / 0.5529 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/0.4027, allocations: 1.539 MB / 0.5544 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.4027, allocations: 0 / 0.5544 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.4028, allocations: 55.12 kB / 0.5545 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.4029, allocations: 30.44 kB / 0.5545 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003484/0.4063, allocations: 1.863 MB / 0.5563 GB, free: 2.281 MB / 398.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.009443/0.4158, allocations: 3.679 MB / 0.5599 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.418, allocations: 1.265 MB / 0.5612 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/0.4189, allocations: 491.7 kB / 0.5616 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006626/0.4256, allocations: 2.63 MB / 0.5642 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.4256, allocations: 47.16 kB / 0.5643 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005075/0.4261, allocations: 95.33 kB / 0.5644 GB, free: 10.63 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.937e-06/0.4261, allocations: 0 / 0.5644 GB, free: 10.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01966/0.4458, allocations: 4.214 MB / 0.5685 GB, free: 6.375 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.4459, allocations: 68.41 kB / 0.5685 GB, free: 6.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009942/0.4468, allocations: 0.6054 MB / 0.5691 GB, free: 5.676 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.447, allocations: 41.7 kB / 0.5692 GB, free: 5.629 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/0.4475, allocations: 0.5898 MB / 0.5697 GB, free: 5.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004254/0.4479, allocations: 368.9 kB / 0.5701 GB, free: 4.668 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004175/0.4483, allocations: 234.8 kB / 0.5703 GB, free: 4.434 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002333/0.4485, allocations: 394.7 kB / 0.5707 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007803/0.4493, allocations: 422.4 kB / 0.5711 GB, free: 3.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.4505, allocations: 0.7784 MB / 0.5719 GB, free: 2.684 MB / 414.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.02592/0.4764, allocations: 4.497 MB / 0.5762 GB, free: 14.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/0.4764, allocations: 4 kB / 0.5762 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006226/0.4826, allocations: 1.783 MB / 0.578 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.4827, allocations: 8 kB / 0.578 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.4827, allocations: 12 kB / 0.578 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003739/0.4864, allocations: 481.2 kB / 0.5785 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.4876, allocations: 291.5 kB / 0.5787 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008081/0.4956, allocations: 4.154 MB / 0.5828 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001149/0.4968, allocations: 43.98 kB / 0.5828 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002737/0.4971, allocations: 67.98 kB / 0.5829 GB, free: 6.945 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.0008027/0.4979, allocations: 284.3 kB / 0.5832 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.4982, allocations: 91.39 kB / 0.5833 GB, free: 6.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007068/0.5053, allocations: 1.762 MB / 0.585 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.5053, allocations: 8 kB / 0.585 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.5053, allocations: 7.938 kB / 0.585 GB, free: 4.773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.788e-05/0.5054, allocations: 3.984 kB / 0.585 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00922/0.5146, allocations: 2.745 MB / 0.5877 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.5146, allocations: 0 / 0.5877 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007966/0.5154, allocations: 203.7 kB / 0.5879 GB, free: 1.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004649/0.5201, allocations: 0.5408 MB / 0.5884 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.5202, allocations: 35.98 kB / 0.5884 GB, free: 1.156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009079/0.5293, allocations: 5.313 MB / 0.5936 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.5293, allocations: 7.969 kB / 0.5936 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007697/0.537, allocations: 2.332 MB / 0.5959 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003512/0.5373, allocations: 83.42 kB / 0.596 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.5376, allocations: 24 kB / 0.596 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006994/0.5383, allocations: 24 kB / 0.596 GB, free: 8.969 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003063/0.5386, allocations: 108.7 kB / 0.5961 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.5387, allocations: 47.98 kB / 0.5962 GB, free: 8.812 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005928/0.5393, allocations: 387.1 kB / 0.5966 GB, free: 8.438 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5393, allocations: 0 / 0.5966 GB, free: 8.438 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002222/0.5415, allocations: 0.6041 MB / 0.5972 GB, free: 7.832 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.009335/0.5509, allocations: 3.416 MB / 0.6005 GB, free: 4.344 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002853/0.5537, allocations: 1.391 MB / 0.6018 GB, free: 2.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.5537, allocations: 0 / 0.6018 GB, free: 2.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.5554, allocations: 0.9667 MB / 0.6028 GB, free: 1.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001324/0.5567, allocations: 201.2 kB / 0.603 GB, free: 1.738 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/0.5791, allocations: 9.601 MB / 0.6124 GB, free: 7.613 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.5798, allocations: 490.3 kB / 0.6128 GB, free: 7.102 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009147/0.5807, allocations: 234.8 kB / 0.613 GB, free: 6.871 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007732/0.5815, allocations: 0.5031 MB / 0.6135 GB, free: 6.367 MB / 462.1 MB Notification: Performance of SimCode: time 1.233e-06/0.5815, allocations: 3.938 kB / 0.6135 GB, free: 6.363 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08783/0.6693, allocations: 33.97 MB / 0.6467 GB, free: 4.734 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.04, allocations: 14.48 kB / 0.6467 GB, free: 4.723 MB / 494.1 MB " [Timeout remaining time 645] (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: 17.780501393135637] Failed to read output from testmodel.py, exit status != 0: 15.178476351778954 15.205267182 14.810189997 Calling exit ...