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.001218/0.001218, allocations: 101.5 kB / 19.73 MB, free: 2.23 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: 214.8 kB / 23.04 MB, free: 5.07 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.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.1487/0.1487, allocations: 23.88 MB / 337.1 MB, free: 11.14 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.002024/0.002024, allocations: 67.84 kB / 472 MB, free: 7.637 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3685, allocations: 59.87 MB / 0.5194 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.007333/0.3759, allocations: 6.647 MB / 0.5259 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01837/0.3942, allocations: 14.71 MB / 0.5402 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.3956, allocations: 16.88 kB / 0.5403 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.3967, allocations: 351.3 kB / 0.5406 GB, free: 9.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003729/0.4005, allocations: 1.111 MB / 0.5417 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006213/0.4067, allocations: 2.002 MB / 0.5436 GB, free: 8.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002888/0.4096, allocations: 1.607 MB / 0.5452 GB, free: 7.238 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.4108, allocations: 0.8206 MB / 0.546 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.412, allocations: 0.7776 MB / 0.5468 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.4133, allocations: 0.8429 MB / 0.5476 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002664/0.4136, allocations: 149.9 kB / 0.5477 GB, free: 6.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/0.4193, allocations: 1.482 MB / 0.5492 GB, free: 5.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004629/0.4198, allocations: 353.3 kB / 0.5495 GB, free: 5.543 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001102/0.4209, allocations: 0.7442 MB / 0.5502 GB, free: 5.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007906/0.4288, allocations: 3.224 MB / 0.5534 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4288, allocations: 1.25 kB / 0.5534 GB, free: 3.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4288, allocations: 0 / 0.5534 GB, free: 3.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.4288, allocations: 0 / 0.5534 GB, free: 3.27 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.004045/0.4328, allocations: 1.807 MB / 0.5552 GB, free: 1.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4329, allocations: 9.844 kB / 0.5552 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.645e-05/0.433, allocations: 33.25 kB / 0.5552 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002512/0.4332, allocations: 191.2 kB / 0.5554 GB, free: 1.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.4347, allocations: 318.4 kB / 0.5557 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001386/0.4361, allocations: 0.6196 MB / 0.5563 GB, free: 1.191 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.061e-05/0.4362, allocations: 99.12 kB / 0.5564 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.4364, allocations: 137.5 kB / 0.5565 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.4392, allocations: 1.538 MB / 0.558 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.4392, allocations: 1.438 kB / 0.558 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.4394, allocations: 49.53 kB / 0.5581 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.763e-05/0.4394, allocations: 35.61 kB / 0.5581 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003249/0.4426, allocations: 1.88 MB / 0.5599 GB, free: 15.3 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.00806/0.4507, allocations: 4.605 MB / 0.5644 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002149/0.4529, allocations: 1.263 MB / 0.5657 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.4537, allocations: 491.7 kB / 0.5661 GB, free: 9.695 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006185/0.4599, allocations: 2.778 MB / 0.5688 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.4599, allocations: 43.2 kB / 0.5689 GB, free: 6.84 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004933/0.4604, allocations: 95.34 kB / 0.569 GB, free: 6.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.595e-06/0.4604, allocations: 0 / 0.569 GB, free: 6.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01949/0.4799, allocations: 4.209 MB / 0.5731 GB, free: 2.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.4799, allocations: 64.41 kB / 0.5732 GB, free: 2.422 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/0.4808, allocations: 0.5861 MB / 0.5737 GB, free: 1.824 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.4809, allocations: 41.7 kB / 0.5738 GB, free: 1.777 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.4813, allocations: 0.5937 MB / 0.5743 GB, free: 1.176 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003464/0.4817, allocations: 368.9 kB / 0.5747 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003652/0.4821, allocations: 234.8 kB / 0.5749 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002069/0.4823, allocations: 390.7 kB / 0.5753 GB, free: 192 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007833/0.4831, allocations: 426.4 kB / 0.5757 GB, free: 15.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.4842, allocations: 0.7862 MB / 0.5765 GB, free: 14.82 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.02602/0.5102, allocations: 4.485 MB / 0.5808 GB, free: 10.17 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.057e-06/0.5102, allocations: 8 kB / 0.5809 GB, free: 10.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006008/0.5162, allocations: 1.779 MB / 0.5826 GB, free: 8.375 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.5162, allocations: 12 kB / 0.5826 GB, free: 8.363 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/0.5162, allocations: 19.92 kB / 0.5826 GB, free: 8.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003747/0.52, allocations: 481.2 kB / 0.5831 GB, free: 7.867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.5211, allocations: 295.5 kB / 0.5834 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007668/0.5287, allocations: 4.194 MB / 0.5875 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.5297, allocations: 43.98 kB / 0.5875 GB, free: 3.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.5299, allocations: 67.98 kB / 0.5876 GB, free: 3.039 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.00055/0.5304, allocations: 282 kB / 0.5878 GB, free: 2.754 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.5306, allocations: 87.44 kB / 0.5879 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006866/0.5375, allocations: 1.758 MB / 0.5896 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/0.5375, allocations: 12 kB / 0.5896 GB, free: 0.875 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.5375, allocations: 3.938 kB / 0.5896 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.5375, allocations: 3.984 kB / 0.5897 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008538/0.5461, allocations: 2.924 MB / 0.5925 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.5461, allocations: 4 kB / 0.5925 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007779/0.5469, allocations: 203.9 kB / 0.5927 GB, free: 13.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004817/0.5517, allocations: 0.537 MB / 0.5932 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001643/0.5518, allocations: 39.98 kB / 0.5933 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008558/0.5604, allocations: 5.374 MB / 0.5985 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.5604, allocations: 4 kB / 0.5985 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00747/0.5679, allocations: 2.332 MB / 0.6008 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/0.5682, allocations: 91.36 kB / 0.6009 GB, free: 4.855 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001442/0.5683, allocations: 27.94 kB / 0.6009 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.5689, allocations: 27.98 kB / 0.6009 GB, free: 4.801 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.5691, allocations: 104.8 kB / 0.601 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.5692, allocations: 47.97 kB / 0.6011 GB, free: 4.648 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005384/0.5698, allocations: 387.1 kB / 0.6015 GB, free: 4.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5698, allocations: 0 / 0.6015 GB, free: 4.273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002018/0.5718, allocations: 0.5963 MB / 0.602 GB, free: 3.676 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.00948/0.5813, allocations: 3.419 MB / 0.6054 GB, free: 192 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002969/0.5842, allocations: 1.395 MB / 0.6067 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5843, allocations: 0 / 0.6067 GB, free: 14.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001529/0.5858, allocations: 0.9588 MB / 0.6077 GB, free: 13.77 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.5871, allocations: 218.3 kB / 0.6079 GB, free: 13.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02156/0.6087, allocations: 9.585 MB / 0.6172 GB, free: 3.453 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008145/0.6095, allocations: 1.073 MB / 0.6183 GB, free: 2.355 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008522/0.6103, allocations: 234.5 kB / 0.6185 GB, free: 2.129 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007569/0.6111, allocations: 0.5031 MB / 0.619 GB, free: 1.625 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6111, allocations: 0 / 0.619 GB, free: 1.625 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07937/0.6905, allocations: 33.36 MB / 0.6516 GB, free: 0.543 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.12/17.81, allocations: 12 kB / 0.6516 GB, free: 0.5312 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: 23.835953538073227] Failed to read output from testmodel.py, exit status != 0: 18.008725109975785 18.035191546 17.601263354 Calling exit ...