Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001433/0.001433, 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.002563/0.002563, allocations: 216.2 kB / 22.25 MB, free: 5.105 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1842/0.1842, allocations: 23.88 MB / 336.3 MB, free: 10.97 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical_Obsolete_Examples_WaterVaporization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Obsolete.Examples.WaterVaporization,fileNamePrefix="Chemical_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.002022/0.002022, allocations: 64.19 kB / 471.1 MB, free: 7.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4093, allocations: 59.87 MB / 0.5185 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.007341/0.4167, allocations: 5.867 MB / 0.5243 GB, free: 5.586 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.4363, allocations: 12.92 MB / 0.5369 GB, free: 12.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002075/0.4384, allocations: 21.56 kB / 0.5369 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.4397, allocations: 322.5 kB / 0.5372 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005644/0.4453, allocations: 1.095 MB / 0.5383 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009527/0.4549, allocations: 2.001 MB / 0.5402 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005715/0.4606, allocations: 1.61 MB / 0.5418 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002833/0.4634, allocations: 0.82 MB / 0.5426 GB, free: 9.527 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003001/0.4664, allocations: 0.7749 MB / 0.5434 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003137/0.4695, allocations: 0.8417 MB / 0.5442 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007041/0.4702, allocations: 150.3 kB / 0.5443 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006363/0.4766, allocations: 1.427 MB / 0.5457 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006496/0.4773, allocations: 348.5 kB / 0.546 GB, free: 8.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.4786, allocations: 0.6281 MB / 0.5467 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009638/0.4882, allocations: 3.224 MB / 0.5498 GB, free: 6.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4882, allocations: 0.8438 kB / 0.5498 GB, free: 6.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4882, allocations: 0 / 0.5498 GB, free: 6.172 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.214e-05/0.4883, allocations: 0 / 0.5498 GB, free: 6.172 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.004584/0.4928, allocations: 1.798 MB / 0.5516 GB, free: 4.906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.4929, allocations: 10.44 kB / 0.5516 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/0.4931, allocations: 187 kB / 0.5518 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.4946, allocations: 321.8 kB / 0.5521 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00151/0.4962, allocations: 0.6209 MB / 0.5527 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.996e-05/0.4963, allocations: 99.75 kB / 0.5528 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002426/0.4965, allocations: 136.3 kB / 0.5529 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002832/0.4993, allocations: 1.543 MB / 0.5544 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.4994, allocations: 0 / 0.5544 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.4995, allocations: 50.47 kB / 0.5544 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.783e-05/0.4995, allocations: 34.84 kB / 0.5545 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.5027, allocations: 1.862 MB / 0.5563 GB, free: 2.215 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.00806/0.5108, allocations: 3.681 MB / 0.5599 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.5128, allocations: 1.269 MB / 0.5611 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007894/0.5136, allocations: 487.7 kB / 0.5616 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005973/0.5196, allocations: 2.634 MB / 0.5642 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.5196, allocations: 43.16 kB / 0.5642 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004889/0.5201, allocations: 91.34 kB / 0.5643 GB, free: 10.69 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 2.976e-06/0.5201, allocations: 0 / 0.5643 GB, free: 10.69 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.02202/0.5421, allocations: 4.218 MB / 0.5684 GB, free: 6.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.5422, allocations: 64.41 kB / 0.5685 GB, free: 6.352 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008852/0.5431, allocations: 0.6054 MB / 0.5691 GB, free: 5.734 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001301/0.5432, allocations: 41.7 kB / 0.5691 GB, free: 5.688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/0.5437, allocations: 0.5898 MB / 0.5697 GB, free: 5.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003463/0.544, allocations: 368.9 kB / 0.57 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003666/0.5444, allocations: 238.8 kB / 0.5703 GB, free: 4.488 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.5446, allocations: 390.7 kB / 0.5706 GB, free: 4.098 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007298/0.5453, allocations: 426.4 kB / 0.571 GB, free: 3.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.5464, allocations: 0.7784 MB / 0.5718 GB, free: 2.738 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.02937/0.5758, allocations: 4.493 MB / 0.5762 GB, free: 14.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.5758, allocations: 4 kB / 0.5762 GB, free: 14.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006375/0.5821, allocations: 1.791 MB / 0.5779 GB, free: 12.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.5822, allocations: 12 kB / 0.578 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.5822, allocations: 12 kB / 0.578 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00427/0.5865, allocations: 481.3 kB / 0.5784 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.5875, allocations: 291.5 kB / 0.5787 GB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007907/0.5954, allocations: 4.14 MB / 0.5827 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.5965, allocations: 40 kB / 0.5828 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.5966, allocations: 67.97 kB / 0.5828 GB, free: 7.012 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.0005808/0.5972, allocations: 289.4 kB / 0.5831 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002221/0.5974, allocations: 91.39 kB / 0.5832 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007369/0.6048, allocations: 1.754 MB / 0.5849 GB, free: 4.855 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.6048, allocations: 12 kB / 0.5849 GB, free: 4.844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/0.6048, allocations: 11.94 kB / 0.5849 GB, free: 4.832 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.93e-05/0.6049, allocations: 3.984 kB / 0.585 GB, free: 4.828 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009365/0.6142, allocations: 2.749 MB / 0.5876 GB, free: 1.992 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.6142, allocations: 4 kB / 0.5876 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008118/0.615, allocations: 204 kB / 0.5878 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005493/0.6205, allocations: 0.5253 MB / 0.5883 GB, free: 1.254 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002648/0.6208, allocations: 39.97 kB / 0.5884 GB, free: 1.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008876/0.6297, allocations: 5.32 MB / 0.5936 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.6297, allocations: 7.938 kB / 0.5936 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008419/0.6381, allocations: 2.336 MB / 0.5959 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003745/0.6385, allocations: 87.34 kB / 0.596 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001454/0.6386, allocations: 23.98 kB / 0.596 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005807/0.6392, allocations: 24 kB / 0.596 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/0.6395, allocations: 108.7 kB / 0.5961 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.6396, allocations: 43.98 kB / 0.5961 GB, free: 8.867 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005425/0.6402, allocations: 391.1 kB / 0.5965 GB, free: 8.488 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6402, allocations: 0 / 0.5965 GB, free: 8.488 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002107/0.6423, allocations: 0.6002 MB / 0.5971 GB, free: 7.887 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.01023/0.6525, allocations: 3.414 MB / 0.6004 GB, free: 4.406 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002814/0.6553, allocations: 1.399 MB / 0.6018 GB, free: 2.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.6553, allocations: 4 kB / 0.6018 GB, free: 2.977 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/0.657, allocations: 0.955 MB / 0.6027 GB, free: 1.984 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001441/0.6584, allocations: 210.3 kB / 0.6029 GB, free: 1.785 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/0.6807, allocations: 9.597 MB / 0.6123 GB, free: 7.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.6813, allocations: 486.3 kB / 0.6128 GB, free: 7.152 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009054/0.6822, allocations: 235 kB / 0.613 GB, free: 6.922 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007258/0.683, allocations: 0.4992 MB / 0.6135 GB, free: 6.422 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.683, allocations: 0 / 0.6135 GB, free: 6.422 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08395/0.7669, allocations: 34.38 MB / 0.6471 GB, free: 4.387 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.07, allocations: 7.109 kB / 0.6471 GB, free: 4.383 MB / 494.1 MB " [Timeout remaining time 645] (rm -f Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.WaterVaporization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Obsolete_Examples_WaterVaporization_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Obsolete_Examples_WaterVaporization.fmu > Chemical_Chemical.Obsolete.Examples.WaterVaporization.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.971877024014248] Failed to read output from testmodel.py, exit status != 0: 15.208673788991291 15.225590183 14.733859831 Calling exit ...