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.001241/0.001241, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001411/0.001411, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.373/1.373, allocations: 230.6 MB / 256 MB, free: 8.023 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.1354/0.1354, allocations: 23.89 MB / 336.3 MB, free: 11.16 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.001929/0.001929, allocations: 75.88 kB / 471.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.316, allocations: 59.87 MB / 0.5187 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.00642/0.3224, allocations: 6.628 MB / 0.5251 GB, free: 4.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.3394, allocations: 14.71 MB / 0.5395 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.3405, allocations: 17.5 kB / 0.5395 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.3417, allocations: 352.4 kB / 0.5399 GB, free: 9.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.3452, allocations: 1.109 MB / 0.5409 GB, free: 9.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006069/0.3513, allocations: 2.007 MB / 0.5429 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002629/0.3539, allocations: 1.607 MB / 0.5445 GB, free: 7.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.3551, allocations: 0.816 MB / 0.5453 GB, free: 6.832 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.3562, allocations: 0.7826 MB / 0.546 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.3574, allocations: 0.8416 MB / 0.5468 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002121/0.3576, allocations: 149.8 kB / 0.547 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00508/0.3627, allocations: 1.487 MB / 0.5484 GB, free: 5.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003992/0.3631, allocations: 338.5 kB / 0.5488 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009445/0.364, allocations: 0.7498 MB / 0.5495 GB, free: 5.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007178/0.3712, allocations: 3.226 MB / 0.5526 GB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3712, allocations: 0 / 0.5526 GB, free: 3.289 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3712, allocations: 1.094 kB / 0.5526 GB, free: 3.289 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.3713, allocations: 0 / 0.5526 GB, free: 3.289 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.003731/0.375, allocations: 1.812 MB / 0.5544 GB, free: 2.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.375, allocations: 9.875 kB / 0.5544 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000222/0.3753, allocations: 191.2 kB / 0.5546 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.3766, allocations: 317.7 kB / 0.5549 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.3778, allocations: 0.6168 MB / 0.5555 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.3779, allocations: 94.94 kB / 0.5556 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.3781, allocations: 144 kB / 0.5557 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.3806, allocations: 1.535 MB / 0.5572 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.3807, allocations: 1.156 kB / 0.5572 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.3808, allocations: 54.73 kB / 0.5573 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.3808, allocations: 30.62 kB / 0.5573 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/0.384, allocations: 1.877 MB / 0.5592 GB, free: 15.33 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.007605/0.3916, allocations: 4.604 MB / 0.5637 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001972/0.3935, allocations: 1.259 MB / 0.5649 GB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007687/0.3943, allocations: 495.7 kB / 0.5654 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005594/0.3999, allocations: 2.778 MB / 0.5681 GB, free: 6.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3999, allocations: 43.22 kB / 0.5681 GB, free: 6.906 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003845/0.4003, allocations: 95.34 kB / 0.5682 GB, free: 6.812 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.235e-06/0.4003, allocations: 0 / 0.5682 GB, free: 6.812 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01913/0.4195, allocations: 4.217 MB / 0.5723 GB, free: 2.559 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.4195, allocations: 64.41 kB / 0.5724 GB, free: 2.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007627/0.4203, allocations: 0.5783 MB / 0.5729 GB, free: 1.891 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.611e-05/0.4204, allocations: 49.69 kB / 0.573 GB, free: 1.836 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/0.4208, allocations: 0.5937 MB / 0.5736 GB, free: 1.234 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003174/0.4211, allocations: 364.9 kB / 0.5739 GB, free: 0.875 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003304/0.4215, allocations: 238.8 kB / 0.5741 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.4217, allocations: 390.7 kB / 0.5745 GB, free: 252 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007175/0.4224, allocations: 426.4 kB / 0.5749 GB, free: 15.83 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/0.4234, allocations: 0.7823 MB / 0.5757 GB, free: 14.88 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.02584/0.4493, allocations: 4.489 MB / 0.5801 GB, free: 10.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4493, allocations: 4 kB / 0.5801 GB, free: 10.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005893/0.4552, allocations: 1.783 MB / 0.5818 GB, free: 8.434 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.4552, allocations: 16.06 kB / 0.5818 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.692e-05/0.4552, allocations: 12 kB / 0.5818 GB, free: 8.406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003938/0.4591, allocations: 473.2 kB / 0.5823 GB, free: 7.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/0.4601, allocations: 291.5 kB / 0.5826 GB, free: 7.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007432/0.4676, allocations: 4.207 MB / 0.5867 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009371/0.4685, allocations: 40 kB / 0.5867 GB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.4686, allocations: 71.97 kB / 0.5868 GB, free: 3.102 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.0005245/0.4692, allocations: 282 kB / 0.5871 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4694, allocations: 87.44 kB / 0.5871 GB, free: 2.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006843/0.4762, allocations: 1.762 MB / 0.5889 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.4762, allocations: 12 kB / 0.5889 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.4762, allocations: 3.938 kB / 0.5889 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.4762, allocations: 3.984 kB / 0.5889 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008525/0.4848, allocations: 2.924 MB / 0.5917 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.4848, allocations: 4 kB / 0.5917 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.4855, allocations: 200 kB / 0.5919 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004732/0.4902, allocations: 0.5444 MB / 0.5925 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.4904, allocations: 35.98 kB / 0.5925 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008362/0.4987, allocations: 5.371 MB / 0.5977 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.4987, allocations: 4.031 kB / 0.5977 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007504/0.5062, allocations: 2.332 MB / 0.6 GB, free: 5.008 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.5065, allocations: 91.36 kB / 0.6001 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.5067, allocations: 28 kB / 0.6001 GB, free: 4.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005289/0.5072, allocations: 31.88 kB / 0.6002 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002396/0.5075, allocations: 108.8 kB / 0.6003 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.541e-05/0.5076, allocations: 43.98 kB / 0.6003 GB, free: 4.707 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005084/0.5081, allocations: 387.1 kB / 0.6007 GB, free: 4.332 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5081, allocations: 0 / 0.6007 GB, free: 4.332 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00189/0.51, allocations: 0.6002 MB / 0.6013 GB, free: 3.73 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.009054/0.519, allocations: 3.412 MB / 0.6046 GB, free: 256 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002588/0.5216, allocations: 1.391 MB / 0.606 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.5216, allocations: 0 / 0.606 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001498/0.5231, allocations: 0.9666 MB / 0.6069 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5243, allocations: 201.8 kB / 0.6071 GB, free: 13.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0212/0.5455, allocations: 9.605 MB / 0.6165 GB, free: 3.512 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008497/0.5463, allocations: 1.069 MB / 0.6175 GB, free: 2.418 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008958/0.5472, allocations: 234.8 kB / 0.6177 GB, free: 2.188 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000751/0.548, allocations: 0.5031 MB / 0.6182 GB, free: 1.684 MB / 462.1 MB Notification: Performance of SimCode: time 1.453e-06/0.548, allocations: 0 / 0.6182 GB, free: 1.684 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08185/0.6298, allocations: 33.32 MB / 0.6508 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.35/16.98, allocations: 8.062 kB / 0.6508 GB, free: 0.6211 MB / 494.1 MB " [Timeout remaining time 643] (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: 23.191765557043254] Failed to read output from testmodel.py, exit status != 0: 17.112375369062647 17.138239638 16.761717286 Calling exit ...