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.001466/0.001466, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001927/0.001927, allocations: 209.8 kB / 22.24 MB, free: 5.262 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.746 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.1778/0.1778, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.002091/0.002091, allocations: 71.89 kB / 471.1 MB, free: 7.508 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3922, allocations: 59.86 MB / 0.5185 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.006707/0.3989, allocations: 5.873 MB / 0.5243 GB, free: 5.648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.4157, allocations: 12.92 MB / 0.5369 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.4171, allocations: 22.38 kB / 0.5369 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.4184, allocations: 314.5 kB / 0.5372 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004568/0.4229, allocations: 1.091 MB / 0.5383 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007215/0.4301, allocations: 2.005 MB / 0.5402 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004511/0.4346, allocations: 1.61 MB / 0.5418 GB, free: 10.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.4364, allocations: 0.7968 MB / 0.5426 GB, free: 9.617 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.4378, allocations: 0.7747 MB / 0.5433 GB, free: 9.316 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.4396, allocations: 0.7483 MB / 0.5441 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004215/0.44, allocations: 149.8 kB / 0.5442 GB, free: 9.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005741/0.4457, allocations: 1.393 MB / 0.5456 GB, free: 8.746 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.4463, allocations: 339.3 kB / 0.5459 GB, free: 8.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.4474, allocations: 0.6286 MB / 0.5465 GB, free: 8.203 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009915/0.4573, allocations: 3.222 MB / 0.5496 GB, free: 6.398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.4573, allocations: 0 / 0.5496 GB, free: 6.398 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.4573, allocations: 1.375 kB / 0.5497 GB, free: 6.398 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.942e-05/0.4574, allocations: 0 / 0.5497 GB, free: 6.398 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.005184/0.4626, allocations: 1.807 MB / 0.5514 GB, free: 5.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/0.4627, allocations: 8.969 kB / 0.5514 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002671/0.4629, allocations: 187.7 kB / 0.5516 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.4645, allocations: 325.9 kB / 0.5519 GB, free: 4.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.466, allocations: 0.62 MB / 0.5525 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.4661, allocations: 95.72 kB / 0.5526 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.4663, allocations: 136.7 kB / 0.5527 GB, free: 4.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002772/0.4691, allocations: 1.535 MB / 0.5542 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.916e-05/0.4691, allocations: 0 / 0.5542 GB, free: 3.324 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.4693, allocations: 54.38 kB / 0.5543 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.4693, allocations: 35.47 kB / 0.5543 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/0.4723, allocations: 1.858 MB / 0.5561 GB, free: 2.441 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.00827/0.4806, allocations: 3.688 MB / 0.5597 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002217/0.4828, allocations: 1.265 MB / 0.561 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008165/0.4836, allocations: 495.2 kB / 0.5614 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006173/0.4898, allocations: 2.63 MB / 0.564 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.4899, allocations: 43.2 kB / 0.5641 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004753/0.4903, allocations: 99.33 kB / 0.5642 GB, free: 10.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.547e-06/0.4903, allocations: 0 / 0.5642 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.01956/0.5099, allocations: 4.214 MB / 0.5683 GB, free: 6.531 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.51, allocations: 64.41 kB / 0.5683 GB, free: 6.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008515/0.5108, allocations: 0.6015 MB / 0.5689 GB, free: 5.84 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001361/0.5109, allocations: 45.7 kB / 0.569 GB, free: 5.789 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.5114, allocations: 0.5859 MB / 0.5695 GB, free: 5.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003567/0.5117, allocations: 372.9 kB / 0.5699 GB, free: 4.828 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003426/0.5121, allocations: 234.8 kB / 0.5701 GB, free: 4.594 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002127/0.5123, allocations: 394.7 kB / 0.5705 GB, free: 4.199 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007343/0.513, allocations: 422.4 kB / 0.5709 GB, free: 3.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.5141, allocations: 0.7862 MB / 0.5717 GB, free: 2.836 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.02604/0.5401, allocations: 4.489 MB / 0.576 GB, free: 14.18 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/0.5402, allocations: 4 kB / 0.576 GB, free: 14.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00604/0.5462, allocations: 1.783 MB / 0.5778 GB, free: 12.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.916e-05/0.5462, allocations: 12 kB / 0.5778 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.5463, allocations: 12 kB / 0.5778 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003601/0.5499, allocations: 481.7 kB / 0.5783 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.5509, allocations: 291.5 kB / 0.5785 GB, free: 11.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007397/0.5583, allocations: 4.151 MB / 0.5826 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.5594, allocations: 43.98 kB / 0.5826 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/0.5595, allocations: 71.97 kB / 0.5827 GB, free: 7.094 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.0005864/0.5601, allocations: 289 kB / 0.583 GB, free: 6.805 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.5603, allocations: 95.38 kB / 0.5831 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006574/0.5669, allocations: 1.747 MB / 0.5848 GB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.5669, allocations: 15.94 kB / 0.5848 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.5669, allocations: 7.938 kB / 0.5848 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.5669, allocations: 3.984 kB / 0.5848 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008298/0.5752, allocations: 2.745 MB / 0.5875 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.298e-06/0.5752, allocations: 0 / 0.5875 GB, free: 2.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008448/0.5761, allocations: 200.1 kB / 0.5877 GB, free: 1.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004633/0.5807, allocations: 0.5331 MB / 0.5882 GB, free: 1.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.5809, allocations: 39.98 kB / 0.5882 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008374/0.5893, allocations: 5.313 MB / 0.5934 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5893, allocations: 4 kB / 0.5934 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007417/0.5967, allocations: 2.332 MB / 0.5957 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00032/0.597, allocations: 91.38 kB / 0.5958 GB, free: 9.168 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.5971, allocations: 24 kB / 0.5958 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005119/0.5977, allocations: 20 kB / 0.5958 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.5979, allocations: 108.7 kB / 0.5959 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.598, allocations: 51.98 kB / 0.596 GB, free: 8.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005142/0.5985, allocations: 391.1 kB / 0.5964 GB, free: 8.586 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5985, allocations: 0 / 0.5964 GB, free: 8.586 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002097/0.6006, allocations: 0.6001 MB / 0.597 GB, free: 7.984 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.009021/0.6097, allocations: 3.416 MB / 0.6003 GB, free: 4.496 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002694/0.6124, allocations: 1.395 MB / 0.6016 GB, free: 3.078 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6124, allocations: 0 / 0.6016 GB, free: 3.078 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.6139, allocations: 0.9628 MB / 0.6026 GB, free: 2.078 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.6151, allocations: 211.7 kB / 0.6028 GB, free: 1.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02146/0.6366, allocations: 9.593 MB / 0.6122 GB, free: 7.766 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000647/0.6372, allocations: 490.3 kB / 0.6126 GB, free: 7.254 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009114/0.6381, allocations: 231.2 kB / 0.6128 GB, free: 7.027 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/0.6389, allocations: 0.4992 MB / 0.6133 GB, free: 6.527 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6389, allocations: 0 / 0.6133 GB, free: 6.527 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08/0.7189, allocations: 33.99 MB / 0.6465 GB, free: 4.883 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.1, allocations: 7.609 kB / 0.6465 GB, free: 4.879 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: 18.03769527701661] Failed to read output from testmodel.py, exit status != 0: 15.251242680009454 15.277974545 14.815522798 Calling exit ...