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.001353/0.001353, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001479/0.001479, allocations: 222.7 kB / 23.03 MB, free: 4.945 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1411/0.1411, allocations: 23.9 MB / 337.1 MB, free: 10.96 MB / 270.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.002005/0.002005, allocations: 67.89 kB / 471.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3631, allocations: 59.87 MB / 0.5193 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.006845/0.3699, allocations: 5.858 MB / 0.5251 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01587/0.3858, allocations: 12.91 MB / 0.5377 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009863/0.3868, allocations: 21.91 kB / 0.5377 GB, free: 12.81 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009507/0.3877, allocations: 311.9 kB / 0.538 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00324/0.391, allocations: 1.094 MB / 0.5391 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006407/0.3974, allocations: 2 MB / 0.541 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00268/0.4001, allocations: 1.615 MB / 0.5426 GB, free: 9.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.4012, allocations: 0.8115 MB / 0.5434 GB, free: 9.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001005/0.4022, allocations: 0.7754 MB / 0.5441 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001345/0.4036, allocations: 0.8466 MB / 0.545 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002334/0.4038, allocations: 149.8 kB / 0.5451 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.4084, allocations: 1.428 MB / 0.5465 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004233/0.4088, allocations: 343.6 kB / 0.5468 GB, free: 8.344 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008419/0.4096, allocations: 0.6233 MB / 0.5474 GB, free: 8.023 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007227/0.4169, allocations: 3.223 MB / 0.5506 GB, free: 6.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.4169, allocations: 0 / 0.5506 GB, free: 6.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.4169, allocations: 3.938 kB / 0.5506 GB, free: 6.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.136e-05/0.4169, allocations: 0 / 0.5506 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.004458/0.4214, allocations: 1.8 MB / 0.5524 GB, free: 4.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.4214, allocations: 13.06 kB / 0.5524 GB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.281e-05/0.4215, allocations: 34.06 kB / 0.5524 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002541/0.4217, allocations: 194.8 kB / 0.5526 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001548/0.4233, allocations: 318.5 kB / 0.5529 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.4246, allocations: 0.6209 MB / 0.5535 GB, free: 4.137 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.035e-05/0.4247, allocations: 95.62 kB / 0.5536 GB, free: 4.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.4249, allocations: 139.4 kB / 0.5537 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.4278, allocations: 1.54 MB / 0.5552 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.4278, allocations: 3.984 kB / 0.5552 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.4279, allocations: 51 kB / 0.5553 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.808e-05/0.428, allocations: 30.91 kB / 0.5553 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003121/0.4311, allocations: 1.883 MB / 0.5571 GB, free: 2.246 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.007746/0.4388, allocations: 3.678 MB / 0.5607 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.441, allocations: 1.268 MB / 0.562 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000832/0.4419, allocations: 491.7 kB / 0.5624 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00597/0.4478, allocations: 2.63 MB / 0.565 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.4479, allocations: 47.16 kB / 0.5651 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003715/0.4482, allocations: 99.27 kB / 0.5651 GB, free: 10.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.645e-06/0.4482, allocations: 0 / 0.5651 GB, free: 10.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.02143/0.4697, allocations: 4.214 MB / 0.5693 GB, free: 6.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.4697, allocations: 64.34 kB / 0.5693 GB, free: 6.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008203/0.4706, allocations: 0.5783 MB / 0.5699 GB, free: 5.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/0.4706, allocations: 49.7 kB / 0.5699 GB, free: 5.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004689/0.4711, allocations: 0.5898 MB / 0.5705 GB, free: 5.027 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003364/0.4714, allocations: 368.9 kB / 0.5709 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003765/0.4718, allocations: 234.8 kB / 0.5711 GB, free: 4.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002221/0.472, allocations: 390.8 kB / 0.5715 GB, free: 4.039 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007818/0.4728, allocations: 426.4 kB / 0.5719 GB, free: 3.621 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/0.4739, allocations: 0.7823 MB / 0.5726 GB, free: 2.676 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.02827/0.5022, allocations: 4.493 MB / 0.577 GB, free: 14.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.5022, allocations: 4 kB / 0.577 GB, free: 14.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006342/0.5085, allocations: 1.783 MB / 0.5788 GB, free: 12.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.5086, allocations: 12 kB / 0.5788 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.5086, allocations: 12 kB / 0.5788 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004162/0.5128, allocations: 477.8 kB / 0.5792 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.5138, allocations: 291.6 kB / 0.5795 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00795/0.5217, allocations: 4.161 MB / 0.5836 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009533/0.5227, allocations: 43.98 kB / 0.5836 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.5228, allocations: 72.05 kB / 0.5837 GB, free: 6.938 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.0005847/0.5234, allocations: 288.1 kB / 0.584 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000212/0.5236, allocations: 87.44 kB / 0.5841 GB, free: 6.562 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007389/0.531, allocations: 1.754 MB / 0.5858 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.531, allocations: 12 kB / 0.5858 GB, free: 4.777 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.531, allocations: 7.938 kB / 0.5858 GB, free: 4.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.5311, allocations: 7.969 kB / 0.5858 GB, free: 4.762 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009091/0.5401, allocations: 2.741 MB / 0.5885 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.5401, allocations: 320 / 0.5885 GB, free: 1.934 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007566/0.5409, allocations: 203.7 kB / 0.5887 GB, free: 1.734 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005192/0.5461, allocations: 0.5253 MB / 0.5892 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/0.5462, allocations: 39.98 kB / 0.5892 GB, free: 1.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008677/0.5549, allocations: 5.317 MB / 0.5944 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/0.5549, allocations: 7.969 kB / 0.5944 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007969/0.5629, allocations: 2.332 MB / 0.5967 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.5632, allocations: 87.36 kB / 0.5968 GB, free: 9.012 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.5633, allocations: 23.94 kB / 0.5968 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.5639, allocations: 28 kB / 0.5968 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002782/0.5642, allocations: 108.7 kB / 0.5969 GB, free: 8.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.5643, allocations: 47.98 kB / 0.597 GB, free: 8.805 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006006/0.5649, allocations: 391.1 kB / 0.5973 GB, free: 8.426 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5649, allocations: 0 / 0.5973 GB, free: 8.426 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002103/0.567, allocations: 0.6002 MB / 0.5979 GB, free: 7.824 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.009469/0.5764, allocations: 3.416 MB / 0.6013 GB, free: 4.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002706/0.5791, allocations: 1.399 MB / 0.6026 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5792, allocations: 0 / 0.6026 GB, free: 2.914 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.5806, allocations: 0.9589 MB / 0.6036 GB, free: 1.918 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5818, allocations: 207.1 kB / 0.6038 GB, free: 1.723 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02312/0.6049, allocations: 9.601 MB / 0.6131 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/0.6056, allocations: 486.3 kB / 0.6136 GB, free: 7.086 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008842/0.6065, allocations: 235 kB / 0.6138 GB, free: 6.855 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008384/0.6074, allocations: 0.4953 MB / 0.6143 GB, free: 6.359 MB / 462.1 MB Notification: Performance of SimCode: time 1.843e-06/0.6074, allocations: 0 / 0.6143 GB, free: 6.359 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09866/0.706, allocations: 34.04 MB / 0.6476 GB, free: 4.711 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.33/18.03, allocations: 12.05 kB / 0.6476 GB, free: 4.699 MB / 494.1 MB " [Timeout remaining time 642] (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.905348101980053] Failed to read output from testmodel.py, exit status != 0: 18.22857723000925 18.245795906 17.82543804 Calling exit ...