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.001312/0.001312, allocations: 111 kB / 16.46 MB, free: 6.453 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.001386/0.001386, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.477/1.477, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1399/0.1399, allocations: 23.88 MB / 332.7 MB, free: 12.33 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.002124/0.002124, allocations: 71.89 kB / 466 MB, free: 10.05 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3303, allocations: 59.83 MB / 0.5135 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.00668/0.337, allocations: 6.595 MB / 0.52 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01769/0.3547, allocations: 14.68 MB / 0.5343 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001526/0.3562, allocations: 17.62 kB / 0.5343 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.3573, allocations: 343.8 kB / 0.5347 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.3613, allocations: 1.112 MB / 0.5358 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006361/0.3676, allocations: 1.974 MB / 0.5377 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002719/0.3703, allocations: 1.611 MB / 0.5393 GB, free: 6.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.3718, allocations: 0.8196 MB / 0.5401 GB, free: 6.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001679/0.3735, allocations: 0.7779 MB / 0.5408 GB, free: 6.059 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001987/0.3755, allocations: 0.8393 MB / 0.5416 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005155/0.376, allocations: 148.8 kB / 0.5418 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006075/0.3821, allocations: 1.483 MB / 0.5432 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000605/0.3827, allocations: 347.3 kB / 0.5436 GB, free: 5.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.384, allocations: 0.7452 MB / 0.5443 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.3952, allocations: 3.223 MB / 0.5474 GB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3953, allocations: 0 / 0.5474 GB, free: 3.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3953, allocations: 0 / 0.5474 GB, free: 3.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.893e-05/0.3953, allocations: 9.047 kB / 0.5474 GB, free: 3.109 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.004179/0.3995, allocations: 1.88 MB / 0.5493 GB, free: 1.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.3995, allocations: 14.25 kB / 0.5493 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/0.3998, allocations: 187.6 kB / 0.5495 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.4012, allocations: 325.6 kB / 0.5498 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001198/0.4024, allocations: 0.6833 MB / 0.5504 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.483e-05/0.4025, allocations: 102.4 kB / 0.5505 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000206/0.4027, allocations: 133 kB / 0.5507 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.4052, allocations: 1.528 MB / 0.5522 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.4052, allocations: 0 / 0.5522 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001245/0.4053, allocations: 54.75 kB / 0.5522 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.865e-05/0.4053, allocations: 31.19 kB / 0.5522 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.4083, allocations: 1.853 MB / 0.5541 GB, free: 14.98 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.007481/0.4158, allocations: 4.651 MB / 0.5586 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.4178, allocations: 1.252 MB / 0.5598 GB, free: 10.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008234/0.4187, allocations: 480.2 kB / 0.5603 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006807/0.4255, allocations: 4.629 MB / 0.5648 GB, free: 5.738 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4255, allocations: 47.16 kB / 0.5648 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003635/0.4259, allocations: 87.34 kB / 0.5649 GB, free: 5.598 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 4.047e-06/0.4259, allocations: 0 / 0.5649 GB, free: 5.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.0191/0.445, allocations: 4.336 MB / 0.5692 GB, free: 1.188 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.445, allocations: 60.41 kB / 0.5692 GB, free: 1.117 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008701/0.4459, allocations: 0.5861 MB / 0.5698 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001494/0.446, allocations: 41.7 kB / 0.5698 GB, free: 484 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.4465, allocations: 0.6016 MB / 0.5704 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.4469, allocations: 364.9 kB / 0.5708 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003818/0.4473, allocations: 234.8 kB / 0.571 GB, free: 15.27 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.4476, allocations: 394.7 kB / 0.5714 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007779/0.4483, allocations: 422.4 kB / 0.5718 GB, free: 14.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.4494, allocations: 0.7706 MB / 0.5725 GB, free: 13.52 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.02551/0.4749, allocations: 4.541 MB / 0.577 GB, free: 8.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/0.4749, allocations: 0 / 0.577 GB, free: 8.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006139/0.4811, allocations: 1.775 MB / 0.5787 GB, free: 7.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.4811, allocations: 8 kB / 0.5787 GB, free: 7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.4811, allocations: 12 kB / 0.5787 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003673/0.4848, allocations: 489.7 kB / 0.5792 GB, free: 6.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009668/0.4858, allocations: 287.6 kB / 0.5794 GB, free: 6.223 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007625/0.4934, allocations: 4.394 MB / 0.5837 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009575/0.4943, allocations: 47.98 kB / 0.5838 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.4945, allocations: 63.98 kB / 0.5838 GB, free: 1.434 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.0006301/0.4952, allocations: 289.3 kB / 0.5841 GB, free: 1.141 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.4955, allocations: 87.44 kB / 0.5842 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006809/0.5023, allocations: 1.746 MB / 0.5859 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/0.5023, allocations: 12 kB / 0.5859 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.5023, allocations: 3.938 kB / 0.5859 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.5023, allocations: 11.91 kB / 0.5859 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008684/0.511, allocations: 2.937 MB / 0.5888 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.511, allocations: 0 / 0.5888 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007254/0.5117, allocations: 199.8 kB / 0.589 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004618/0.5163, allocations: 0.5369 MB / 0.5895 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.5165, allocations: 35.98 kB / 0.5896 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008676/0.5251, allocations: 5.689 MB / 0.5951 GB, free: 5.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5251, allocations: 4 kB / 0.5951 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007418/0.5326, allocations: 2.316 MB / 0.5974 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.5329, allocations: 160.5 kB / 0.5975 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/0.5331, allocations: 24 kB / 0.5976 GB, free: 2.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000623/0.5337, allocations: 28 kB / 0.5976 GB, free: 2.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.534, allocations: 104.7 kB / 0.5977 GB, free: 2.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.5341, allocations: 43.98 kB / 0.5977 GB, free: 2.586 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000576/0.5347, allocations: 391.1 kB / 0.5981 GB, free: 2.207 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5347, allocations: 0 / 0.5981 GB, free: 2.207 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002202/0.5369, allocations: 0.5963 MB / 0.5987 GB, free: 1.609 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.009161/0.546, allocations: 3.4 MB / 0.602 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002712/0.5488, allocations: 1.378 MB / 0.6033 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.5488, allocations: 0 / 0.6033 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.5503, allocations: 0.9515 MB / 0.6043 GB, free: 11.75 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.5517, allocations: 222.2 kB / 0.6045 GB, free: 11.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0218/0.5735, allocations: 9.554 MB / 0.6138 GB, free: 1.457 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009681/0.5744, allocations: 1.061 MB / 0.6148 GB, free: 380 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008125/0.5753, allocations: 234.7 kB / 0.6151 GB, free: 148 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007773/0.576, allocations: 0.5032 MB / 0.6156 GB, free: 15.64 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.576, allocations: 0 / 0.6156 GB, free: 15.64 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08253/0.6586, allocations: 32.27 MB / 0.6471 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.14/15.8, allocations: 6.172 kB / 0.6471 GB, free: 15.63 MB / 0.4981 GB " [Timeout remaining time 644] (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: 22.033202454214916] Failed to read output from testmodel.py, exit status != 0: 15.913935971911997 15.936733411 15.537089001 Calling exit ...