Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001779/0.001779, allocations: 122.1 kB / 18.46 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002213/0.002213, allocations: 207.3 kB / 21.4 MB, free: 1.633 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.479/1.479, allocations: 227.7 MB / 251.9 MB, free: 15.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.WaterIF97,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_WaterIF97",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 67.83 kB / 365.2 MB, free: 228 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1012, allocations: 50.55 MB / 415.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.0181/0.1194, allocations: 13.02 MB / 428.8 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01445/0.1339, allocations: 11.53 MB / 440.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001363/0.134, allocations: 0 / 440.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.1345, allocations: 71.55 kB / 440.4 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003257/0.1348, allocations: 87.44 kB / 440.5 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2293/0.3641, allocations: 5.072 MB / 445.5 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004299/0.3646, allocations: 235.1 kB / 445.8 MB, free: 8.273 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.3647, allocations: 10.98 kB / 445.8 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004956/0.3652, allocations: 198.3 kB / 446 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3653, allocations: 71.69 kB / 446 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.3653, allocations: 8.609 kB / 446 MB, free: 8.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01317/0.3785, allocations: 6.994 MB / 453 MB, free: 8.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3786, allocations: 31.27 kB / 453.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.3788, allocations: 71.92 kB / 453.1 MB, free: 8.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0129/0.3917, allocations: 3.881 MB / 457 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.3918, allocations: 2.984 kB / 457 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3918, allocations: 1.438 kB / 457 MB, free: 8.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3918, allocations: 0 / 457 MB, free: 8.164 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.007053/0.3989, allocations: 1.177 MB / 458.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.3989, allocations: 11.47 kB / 458.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.399, allocations: 50.75 kB / 458.3 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004671/0.3995, allocations: 49.7 kB / 458.3 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.3997, allocations: 223.7 kB / 458.5 MB, free: 7.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.743e-05/0.3997, allocations: 10.72 kB / 458.5 MB, free: 7.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.3998, allocations: 17.16 kB / 458.5 MB, free: 7.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.401, allocations: 388.3 kB / 458.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.401, allocations: 4.531 kB / 458.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.401, allocations: 9.406 kB / 458.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.401, allocations: 3.562 kB / 458.9 MB, free: 7.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.4024, allocations: 361 kB / 459.3 MB, free: 7.184 MB / 366.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.001114/0.4035, allocations: 1.178 MB / 460.5 MB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007835/0.4043, allocations: 278.3 kB / 460.7 MB, free: 6.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.4046, allocations: 109.2 kB / 460.9 MB, free: 6.102 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1056/0.5102, allocations: 52.79 MB / 0.5016 GB, free: 7.512 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.5102, allocations: 42.23 kB / 0.5017 GB, free: 7.469 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.966e-06/0.5102, allocations: 1.312 kB / 0.5017 GB, free: 7.469 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.007049/0.5173, allocations: 1.578 MB / 0.5032 GB, free: 6.141 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.5174, allocations: 110.4 kB / 0.5033 GB, free: 6.012 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.5175, allocations: 123.5 kB / 0.5034 GB, free: 5.887 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.5176, allocations: 32.7 kB / 0.5034 GB, free: 5.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.5176, allocations: 95.58 kB / 0.5035 GB, free: 5.762 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5178, allocations: 124.6 kB / 0.5037 GB, free: 5.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.5179, allocations: 73.89 kB / 0.5037 GB, free: 5.602 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.518, allocations: 333.2 kB / 0.504 GB, free: 5.277 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.5184, allocations: 133.8 kB / 0.5042 GB, free: 5.188 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004364/0.5189, allocations: 202.8 kB / 0.5044 GB, free: 5.012 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/0.5197, allocations: 350.9 kB / 0.5047 GB, free: 4.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5197, allocations: 0 / 0.5047 GB, free: 4.762 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001115/0.5209, allocations: 435.3 kB / 0.5051 GB, free: 4.449 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.5209, allocations: 4 kB / 0.5051 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.5209, allocations: 4 kB / 0.5051 GB, free: 4.441 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.5212, allocations: 36.09 kB / 0.5052 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.5216, allocations: 87.12 kB / 0.5052 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004357/0.5221, allocations: 0.5557 MB / 0.5058 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002893/0.5224, allocations: 15.73 kB / 0.5058 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.5224, allocations: 20.48 kB / 0.5058 GB, free: 3.746 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.5226, allocations: 140.4 kB / 0.506 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.5227, allocations: 16 kB / 0.506 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.5249, allocations: 1.437 MB / 0.5074 GB, free: 2.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.582e-05/0.525, allocations: 23.09 kB / 0.5074 GB, free: 2.641 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.525, allocations: 4.484 kB / 0.5074 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.525, allocations: 0 / 0.5074 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.5279, allocations: 1.988 MB / 0.5093 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.528, allocations: 3.938 kB / 0.5093 GB, free: 1.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.5284, allocations: 82.39 kB / 0.5094 GB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003228/0.5288, allocations: 71.55 kB / 0.5095 GB, free: 1.086 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.5288, allocations: 14.67 kB / 0.5095 GB, free: 1.078 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004433/0.5293, allocations: 0.5945 MB / 0.5101 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5293, allocations: 0 / 0.5101 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002362/0.5316, allocations: 1.694 MB / 0.5117 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000119/0.5318, allocations: 128.6 kB / 0.5119 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.5318, allocations: 12 kB / 0.5119 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.5322, allocations: 35.7 kB / 0.5119 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.734e-05/0.5323, allocations: 29.23 kB / 0.5119 GB, free: 14.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.5324, allocations: 15.98 kB / 0.5119 GB, free: 14.78 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.165e-05/0.5324, allocations: 91.27 kB / 0.512 GB, free: 14.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5324, allocations: 0 / 0.512 GB, free: 14.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004521/0.537, allocations: 0.9747 MB / 0.513 GB, free: 13.71 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01059/0.5476, allocations: 3.282 MB / 0.5162 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.5492, allocations: 0.6114 MB / 0.5168 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5493, allocations: 1.531 kB / 0.5168 GB, free: 9.914 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008984/0.5502, allocations: 0.5154 MB / 0.5173 GB, free: 9.41 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008194/0.551, allocations: 82.92 kB / 0.5174 GB, free: 9.344 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009734/0.5608, allocations: 3.902 MB / 0.5212 GB, free: 5.324 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005466/0.5613, allocations: 0.8217 MB / 0.522 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004344/0.5618, allocations: 139.3 kB / 0.5221 GB, free: 4.348 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.5621, allocations: 135.4 kB / 0.5222 GB, free: 4.215 MB / 430.1 MB Notification: Performance of SimCode: time 2.184e-06/0.5621, allocations: 0 / 0.5222 GB, free: 4.215 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09123/0.6533, allocations: 40.64 MB / 0.5619 GB, free: 11.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15, allocations: 4.062 kB / 0.5619 GB, free: 11.73 MB / 478.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0-beta_om_Modelica_Media_Examples_WaterIF97.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.55791955499444] Failed to read output from testmodel.py, exit status != 0: ['time', 'V', 'medium.h', 'medium.p'] 15.120386954047717 15.141376244 14.74589377 Calling exit ...