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.001249/0.001249, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001577/0.001577, allocations: 224.6 kB / 22.25 MB, free: 5.102 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.353/1.353, 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.1312/0.1312, allocations: 23.92 MB / 336.4 MB, free: 10.91 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.00191/0.00191, allocations: 75.83 kB / 471.2 MB, free: 7.441 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2878, allocations: 59.87 MB / 0.5186 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.006157/0.2939, allocations: 5.856 MB / 0.5243 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.3087, allocations: 12.92 MB / 0.5369 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.3097, allocations: 17.06 kB / 0.537 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00098/0.3107, allocations: 328.3 kB / 0.5373 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.3138, allocations: 1.085 MB / 0.5383 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005552/0.3194, allocations: 2.002 MB / 0.5403 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002362/0.3217, allocations: 1.61 MB / 0.5419 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001143/0.3229, allocations: 0.8239 MB / 0.5427 GB, free: 9.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.3239, allocations: 0.7758 MB / 0.5434 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001335/0.3253, allocations: 0.8451 MB / 0.5443 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.3255, allocations: 154.7 kB / 0.5444 GB, free: 8.887 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004761/0.3302, allocations: 1.419 MB / 0.5458 GB, free: 8.562 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000391/0.3306, allocations: 349.2 kB / 0.5461 GB, free: 8.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008415/0.3315, allocations: 0.6274 MB / 0.5467 GB, free: 8.012 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006313/0.3378, allocations: 3.215 MB / 0.5499 GB, free: 6.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.3378, allocations: 0 / 0.5499 GB, free: 6.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3378, allocations: 1.156 kB / 0.5499 GB, free: 6.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.09e-05/0.3378, allocations: 0 / 0.5499 GB, free: 6.215 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.004338/0.3422, allocations: 1.81 MB / 0.5516 GB, free: 4.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3422, allocations: 14.06 kB / 0.5517 GB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002275/0.3424, allocations: 190.7 kB / 0.5518 GB, free: 4.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.3439, allocations: 322.9 kB / 0.5521 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.3455, allocations: 0.6078 MB / 0.5527 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.088e-05/0.3456, allocations: 104.1 kB / 0.5528 GB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002369/0.3458, allocations: 132.4 kB / 0.553 GB, free: 4.043 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.3485, allocations: 1.539 MB / 0.5545 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.3486, allocations: 1.375 kB / 0.5545 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/0.3487, allocations: 53.62 kB / 0.5545 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.3487, allocations: 31.62 kB / 0.5545 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/0.3516, allocations: 1.862 MB / 0.5564 GB, free: 2.254 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.007145/0.3587, allocations: 3.689 MB / 0.56 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.3607, allocations: 1.253 MB / 0.5612 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007748/0.3615, allocations: 487.7 kB / 0.5617 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005694/0.3672, allocations: 2.649 MB / 0.5642 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.3672, allocations: 43.22 kB / 0.5643 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004322/0.3676, allocations: 83.34 kB / 0.5644 GB, free: 10.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.485e-06/0.3676, allocations: 0 / 0.5644 GB, free: 10.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.02138/0.389, allocations: 4.218 MB / 0.5685 GB, free: 6.297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.3891, allocations: 64.41 kB / 0.5685 GB, free: 6.219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008277/0.3899, allocations: 0.6093 MB / 0.5691 GB, free: 5.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.39, allocations: 45.7 kB / 0.5692 GB, free: 5.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004191/0.3905, allocations: 0.5859 MB / 0.5698 GB, free: 4.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.3908, allocations: 368.9 kB / 0.5701 GB, free: 4.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003518/0.3912, allocations: 234.8 kB / 0.5703 GB, free: 4.355 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.3914, allocations: 394.7 kB / 0.5707 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007162/0.3921, allocations: 426.4 kB / 0.5711 GB, free: 3.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00108/0.3932, allocations: 0.7823 MB / 0.5719 GB, free: 2.598 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.02873/0.4219, allocations: 4.489 MB / 0.5763 GB, free: 13.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.4219, allocations: 4 kB / 0.5763 GB, free: 13.94 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006311/0.4282, allocations: 1.783 MB / 0.578 GB, free: 12.15 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.4283, allocations: 12 kB / 0.578 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.4283, allocations: 12 kB / 0.578 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004157/0.4324, allocations: 481 kB / 0.5785 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.4335, allocations: 287.5 kB / 0.5788 GB, free: 11.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007451/0.441, allocations: 4.158 MB / 0.5828 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009895/0.442, allocations: 43.98 kB / 0.5829 GB, free: 6.934 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.4421, allocations: 67.98 kB / 0.5829 GB, free: 6.867 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.0005298/0.4426, allocations: 277.4 kB / 0.5832 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002125/0.4428, allocations: 91.48 kB / 0.5833 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007262/0.4501, allocations: 1.762 MB / 0.585 GB, free: 4.711 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.4501, allocations: 12 kB / 0.585 GB, free: 4.699 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4501, allocations: 7.938 kB / 0.585 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.4501, allocations: 3.984 kB / 0.585 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008803/0.4589, allocations: 2.745 MB / 0.5877 GB, free: 1.855 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.459, allocations: 7.984 kB / 0.5877 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000731/0.4597, allocations: 199.7 kB / 0.5879 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005333/0.465, allocations: 0.5407 MB / 0.5884 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.928e-05/0.4651, allocations: 35.98 kB / 0.5885 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008326/0.4734, allocations: 5.313 MB / 0.5937 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.4734, allocations: 4 kB / 0.5937 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007986/0.4814, allocations: 2.324 MB / 0.5959 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003974/0.4818, allocations: 91.38 kB / 0.596 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001485/0.482, allocations: 27.94 kB / 0.596 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.4825, allocations: 20 kB / 0.5961 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/0.4828, allocations: 104.9 kB / 0.5962 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.4829, allocations: 43.98 kB / 0.5962 GB, free: 8.738 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004988/0.4834, allocations: 399.1 kB / 0.5966 GB, free: 8.352 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4834, allocations: 0 / 0.5966 GB, free: 8.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002043/0.4854, allocations: 0.5963 MB / 0.5972 GB, free: 7.754 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.009404/0.4948, allocations: 3.416 MB / 0.6005 GB, free: 4.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002449/0.4973, allocations: 1.387 MB / 0.6019 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.4973, allocations: 0 / 0.6019 GB, free: 2.855 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001412/0.4987, allocations: 0.9667 MB / 0.6028 GB, free: 1.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001098/0.4998, allocations: 215.6 kB / 0.603 GB, free: 1.656 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01999/0.5198, allocations: 9.609 MB / 0.6124 GB, free: 7.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.5203, allocations: 490.3 kB / 0.6129 GB, free: 7.008 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008148/0.5212, allocations: 230.8 kB / 0.6131 GB, free: 6.781 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006981/0.5219, allocations: 0.4953 MB / 0.6136 GB, free: 6.285 MB / 462.1 MB Notification: Performance of SimCode: time 6.92e-07/0.5219, allocations: 0 / 0.6136 GB, free: 6.285 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07603/0.5979, allocations: 34.38 MB / 0.6471 GB, free: 4.25 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.01, allocations: 7.734 kB / 0.6471 GB, free: 4.246 MB / 494.1 MB " [Timeout remaining time 646] (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: 16.483543698006542] Failed to read output from testmodel.py, exit status != 0: 14.141450814990094 14.156710537 13.815880179 Calling exit ...