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.001541/0.001541, 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.001798/0.001798, allocations: 215.5 kB / 22.26 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 8.027 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.14/0.14, allocations: 23.86 MB / 336.3 MB, free: 11.21 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.002137/0.002137, allocations: 71.89 kB / 471.2 MB, free: 7.723 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.408, allocations: 59.85 MB / 0.5186 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.WaterVaporization): time 0.007576/0.4155, allocations: 6.648 MB / 0.5251 GB, free: 4.883 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0206/0.4361, allocations: 14.71 MB / 0.5394 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001771/0.4379, allocations: 21.25 kB / 0.5395 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001899/0.4398, allocations: 344.5 kB / 0.5398 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005625/0.4454, allocations: 1.115 MB / 0.5409 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009351/0.4548, allocations: 2.001 MB / 0.5428 GB, free: 8.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003858/0.4586, allocations: 1.608 MB / 0.5444 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.4602, allocations: 0.8116 MB / 0.5452 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001587/0.4618, allocations: 0.7827 MB / 0.5459 GB, free: 6.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001838/0.4636, allocations: 0.8417 MB / 0.5468 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002881/0.4639, allocations: 150.2 kB / 0.5469 GB, free: 6.195 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007026/0.4709, allocations: 1.487 MB / 0.5484 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000481/0.4714, allocations: 340.4 kB / 0.5487 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001131/0.4726, allocations: 0.7475 MB / 0.5494 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0116/0.4842, allocations: 3.222 MB / 0.5526 GB, free: 3.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.4842, allocations: 5.047 kB / 0.5526 GB, free: 3.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4842, allocations: 0 / 0.5526 GB, free: 3.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.368e-05/0.4842, allocations: 4 kB / 0.5526 GB, free: 3.32 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.004759/0.489, allocations: 1.809 MB / 0.5543 GB, free: 2.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.489, allocations: 10.12 kB / 0.5544 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002671/0.4893, allocations: 190.6 kB / 0.5545 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.4908, allocations: 318.7 kB / 0.5548 GB, free: 1.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001519/0.4923, allocations: 0.6126 MB / 0.5554 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.4924, allocations: 99.72 kB / 0.5555 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002567/0.4926, allocations: 144 kB / 0.5557 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.4955, allocations: 1.534 MB / 0.5572 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.819e-05/0.4956, allocations: 0 / 0.5572 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.4957, allocations: 51.28 kB / 0.5572 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.49e-05/0.4957, allocations: 30.53 kB / 0.5572 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003221/0.4989, allocations: 1.876 MB / 0.5591 GB, free: 15.37 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.008531/0.5075, allocations: 4.617 MB / 0.5636 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/0.5097, allocations: 1.259 MB / 0.5648 GB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008412/0.5105, allocations: 499.6 kB / 0.5653 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006449/0.517, allocations: 2.77 MB / 0.568 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.517, allocations: 43.22 kB / 0.568 GB, free: 6.949 MB / 414.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004552/0.5175, allocations: 95.33 kB / 0.5681 GB, free: 6.855 MB / 414.1 MB Notification: Performance of pre-optimization done (n=82): time 3.075e-06/0.5175, allocations: 0 / 0.5681 GB, free: 6.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=100): time 0.02033/0.5378, allocations: 4.215 MB / 0.5722 GB, free: 2.605 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.5379, allocations: 68.34 kB / 0.5723 GB, free: 2.523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000867/0.5387, allocations: 0.5822 MB / 0.5729 GB, free: 1.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.5388, allocations: 41.7 kB / 0.5729 GB, free: 1.883 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004877/0.5393, allocations: 0.5937 MB / 0.5735 GB, free: 1.281 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003656/0.5397, allocations: 364.9 kB / 0.5738 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003758/0.5401, allocations: 238.8 kB / 0.5741 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002276/0.5403, allocations: 394.7 kB / 0.5745 GB, free: 296 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007466/0.5411, allocations: 422.4 kB / 0.5749 GB, free: 15.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.5421, allocations: 0.7823 MB / 0.5756 GB, free: 14.93 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.02638/0.5685, allocations: 4.489 MB / 0.58 GB, free: 10.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.5685, allocations: 4 kB / 0.58 GB, free: 10.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.006169/0.5747, allocations: 1.783 MB / 0.5817 GB, free: 8.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.5747, allocations: 12 kB / 0.5818 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.5747, allocations: 12 kB / 0.5818 GB, free: 8.457 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003963/0.5787, allocations: 485 kB / 0.5822 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.5797, allocations: 291.5 kB / 0.5825 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007738/0.5874, allocations: 4.199 MB / 0.5866 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.5884, allocations: 40 kB / 0.5866 GB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.5886, allocations: 75.91 kB / 0.5867 GB, free: 3.145 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.0006441/0.5892, allocations: 282 kB / 0.587 GB, free: 2.859 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.5894, allocations: 87.44 kB / 0.5871 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007073/0.5965, allocations: 1.762 MB / 0.5888 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.5965, allocations: 12 kB / 0.5888 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.5965, allocations: 3.938 kB / 0.5888 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.838e-05/0.5965, allocations: 3.984 kB / 0.5888 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008847/0.6054, allocations: 2.928 MB / 0.5917 GB, free: 13.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.6054, allocations: 4 kB / 0.5917 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007356/0.6061, allocations: 195.8 kB / 0.5919 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004944/0.6111, allocations: 0.5333 MB / 0.5924 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.6112, allocations: 39.92 kB / 0.5924 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009339/0.6206, allocations: 5.375 MB / 0.5977 GB, free: 7.449 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.6206, allocations: 8.016 kB / 0.5977 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008257/0.6288, allocations: 2.328 MB / 0.6 GB, free: 5.059 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004539/0.6293, allocations: 95.5 kB / 0.6 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.6294, allocations: 24 kB / 0.6001 GB, free: 4.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.63, allocations: 24 kB / 0.6001 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.6303, allocations: 112.7 kB / 0.6002 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.6304, allocations: 47.98 kB / 0.6002 GB, free: 4.758 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006165/0.631, allocations: 387.1 kB / 0.6006 GB, free: 4.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.631, allocations: 0 / 0.6006 GB, free: 4.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002713/0.6338, allocations: 0.5963 MB / 0.6012 GB, free: 3.785 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.01037/0.6441, allocations: 3.416 MB / 0.6045 GB, free: 308 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002919/0.6471, allocations: 1.394 MB / 0.6059 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6471, allocations: 3.938 kB / 0.6059 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.6487, allocations: 0.9593 MB / 0.6068 GB, free: 13.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.6501, allocations: 211.6 kB / 0.607 GB, free: 13.67 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02262/0.6727, allocations: 9.593 MB / 0.6164 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009072/0.6736, allocations: 1.065 MB / 0.6174 GB, free: 2.469 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009251/0.6745, allocations: 235 kB / 0.6177 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007627/0.6753, allocations: 0.4992 MB / 0.6182 GB, free: 1.738 MB / 462.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6753, allocations: 0 / 0.6182 GB, free: 1.738 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09715/0.7724, allocations: 33.33 MB / 0.6507 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.17/17.95, allocations: 10.86 kB / 0.6507 GB, free: 0.6641 MB / 494.1 MB " [Timeout remaining time 642] (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: 24.684666372137144] Failed to read output from testmodel.py, exit status != 0: 18.087550186086446 18.103772572 17.616026726 Calling exit ...