Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.001303/0.001303, 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.001527/0.001527, allocations: 212.1 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9991/0.9991, allocations: 134 MB / 446.4 MB, free: 9.914 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001979/0.001979, allocations: 67.86 kB / 0.6185 GB, free: 6.824 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1663, allocations: 85.91 MB / 0.7024 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01637/0.1827, allocations: 11.96 MB / 0.7141 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.1857, allocations: 2.415 MB / 0.7165 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.134e-05/0.1858, allocations: 3.938 kB / 0.7165 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002731/0.1861, allocations: 43.69 kB / 0.7165 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.1863, allocations: 95.42 kB / 0.7166 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.1876, allocations: 0.5312 MB / 0.7171 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002645/0.1879, allocations: 228 kB / 0.7174 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.936e-05/0.1879, allocations: 9.75 kB / 0.7174 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00765/0.1955, allocations: 3.589 MB / 0.7209 GB, free: 14.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1957, allocations: 91.59 kB / 0.721 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.1958, allocations: 8 kB / 0.721 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.1982, allocations: 1.023 MB / 0.722 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.917e-05/0.1982, allocations: 35.89 kB / 0.722 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.605e-05/0.1983, allocations: 79.7 kB / 0.7221 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006279/0.1989, allocations: 362.8 kB / 0.7224 GB, free: 12.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1989, allocations: 0 / 0.7224 GB, free: 12.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1989, allocations: 4 kB / 0.7224 GB, free: 12.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.199, allocations: 4 kB / 0.7224 GB, free: 12.45 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007964/0.1998, allocations: 441.4 kB / 0.7228 GB, free: 11.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1998, allocations: 12.03 kB / 0.7229 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.045e-05/0.1999, allocations: 50.73 kB / 0.7229 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.2, allocations: 24.83 kB / 0.7229 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.2003, allocations: 158.3 kB / 0.7231 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.2003, allocations: 12.7 kB / 0.7231 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.2004, allocations: 16.36 kB / 0.7231 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000531/0.2009, allocations: 491.4 kB / 0.7236 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.2009, allocations: 0 / 0.7236 GB, free: 11.14 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.2009, allocations: 8 kB / 0.7236 GB, free: 11.13 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.201, allocations: 11.98 kB / 0.7236 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005192/0.2015, allocations: 420.1 kB / 0.724 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.2027, allocations: 0.8203 MB / 0.7248 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.203, allocations: 143.5 kB / 0.7249 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.2031, allocations: 60.81 kB / 0.725 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007495/0.2038, allocations: 455.9 kB / 0.7254 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.2039, allocations: 46.48 kB / 0.7255 GB, free: 9.098 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.2039, allocations: 0 / 0.7255 GB, free: 9.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003387/0.2042, allocations: 145.5 kB / 0.7256 GB, free: 8.949 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/0.2042, allocations: 51.41 kB / 0.7257 GB, free: 8.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.2044, allocations: 179.1 kB / 0.7258 GB, free: 8.699 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.2044, allocations: 33.7 kB / 0.7259 GB, free: 8.66 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.413e-05/0.2045, allocations: 144 kB / 0.726 GB, free: 8.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.719e-05/0.2046, allocations: 59.53 kB / 0.7261 GB, free: 8.453 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.959e-05/0.2046, allocations: 53.66 kB / 0.7261 GB, free: 8.395 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2048, allocations: 326.8 kB / 0.7264 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.2049, allocations: 31.98 kB / 0.7264 GB, free: 8.035 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.205, allocations: 141.6 kB / 0.7266 GB, free: 7.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.2053, allocations: 195.9 kB / 0.7268 GB, free: 7.609 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2053, allocations: 4 kB / 0.7268 GB, free: 7.605 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003432/0.2056, allocations: 225 kB / 0.727 GB, free: 7.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.2056, allocations: 8 kB / 0.727 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.2056, allocations: 4 kB / 0.727 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.2057, allocations: 11.94 kB / 0.727 GB, free: 7.355 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.2059, allocations: 55.92 kB / 0.7271 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.2059, allocations: 12.45 kB / 0.7271 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.206, allocations: 31.78 kB / 0.7271 GB, free: 7.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.206, allocations: 16 kB / 0.7271 GB, free: 7.242 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.2061, allocations: 129.7 kB / 0.7272 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.045e-05/0.2062, allocations: 15.91 kB / 0.7273 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003242/0.2065, allocations: 157 kB / 0.7274 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.2065, allocations: 7.938 kB / 0.7274 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2065, allocations: 0 / 0.7274 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.2065, allocations: 0 / 0.7274 GB, free: 6.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.2068, allocations: 180.6 kB / 0.7276 GB, free: 6.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2068, allocations: 4 kB / 0.7276 GB, free: 6.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.2069, allocations: 31.98 kB / 0.7276 GB, free: 6.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.2069, allocations: 7.984 kB / 0.7276 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.2069, allocations: 3.938 kB / 0.7276 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2069, allocations: 3.938 kB / 0.7276 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2069, allocations: 0 / 0.7276 GB, free: 6.664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/0.2072, allocations: 223.2 kB / 0.7279 GB, free: 6.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.932e-05/0.2073, allocations: 31.86 kB / 0.7279 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.2073, allocations: 8 kB / 0.7279 GB, free: 6.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.2075, allocations: 19.86 kB / 0.7279 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.2075, allocations: 15.98 kB / 0.7279 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/0.2075, allocations: 11.98 kB / 0.7279 GB, free: 6.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.191e-05/0.2076, allocations: 120.9 kB / 0.7281 GB, free: 6.227 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2076, allocations: 0 / 0.7281 GB, free: 6.227 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003795/0.208, allocations: 83.86 kB / 0.7281 GB, free: 6.145 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007774/0.2088, allocations: 0.8427 MB / 0.729 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002334/0.209, allocations: 111.7 kB / 0.7291 GB, free: 5.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.209, allocations: 4 kB / 0.7291 GB, free: 5.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.859e-05/0.2091, allocations: 40.86 kB / 0.7291 GB, free: 5.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.2095, allocations: 63.88 kB / 0.7292 GB, free: 5.062 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.2118, allocations: 2.038 MB / 0.7312 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.886e-05/0.2119, allocations: 110.8 kB / 0.7313 GB, free: 2.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.212, allocations: 53.67 kB / 0.7313 GB, free: 2.691 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.864e-05/0.2121, allocations: 43.42 kB / 0.7314 GB, free: 2.652 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.2121, allocations: 4 kB / 0.7314 GB, free: 2.648 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03303/0.2452, allocations: 6.313 MB / 0.7375 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.36, allocations: 7.312 kB / 0.7375 GB, free: 12.55 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.347161857876927] Failed to read output from testmodel.py, exit status != 0: 11.475955360103399 11.828911498 11.298695125 Calling exit ...