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.001376/0.001376, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001442/0.001442, allocations: 218.3 kB / 23.03 MB, free: 4.922 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.8 MB, free: 7.809 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.8852/0.8852, allocations: 134 MB / 447.2 MB, free: 9.965 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="cs",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.001954/0.001954, allocations: 66.69 kB / 0.6193 GB, free: 6.848 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1788, allocations: 85.91 MB / 0.7032 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01727/0.1961, allocations: 11.94 MB / 0.7149 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003255/0.1993, allocations: 2.414 MB / 0.7172 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.1995, allocations: 8 kB / 0.7172 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.1998, allocations: 43.67 kB / 0.7173 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003679/0.2002, allocations: 99.36 kB / 0.7174 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.2017, allocations: 0.5209 MB / 0.7179 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.2021, allocations: 240 kB / 0.7181 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.2022, allocations: 9.688 kB / 0.7181 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009525/0.2117, allocations: 3.581 MB / 0.7216 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002422/0.2119, allocations: 95.58 kB / 0.7217 GB, free: 14.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.212, allocations: 8 kB / 0.7217 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/0.2149, allocations: 1.026 MB / 0.7227 GB, free: 12.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.046e-05/0.215, allocations: 51.75 kB / 0.7228 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.2151, allocations: 67.72 kB / 0.7228 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2162, allocations: 358.9 kB / 0.7232 GB, free: 12.51 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2162, allocations: 0 / 0.7232 GB, free: 12.51 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2162, allocations: 0 / 0.7232 GB, free: 12.51 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.2162, allocations: 0 / 0.7232 GB, free: 12.51 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.0008952/0.2171, allocations: 453.4 kB / 0.7236 GB, free: 12.04 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.897e-05/0.2172, allocations: 8.031 kB / 0.7236 GB, free: 12.03 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.307e-05/0.2172, allocations: 4.516 kB / 0.7236 GB, free: 12.02 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.522e-05/0.2173, allocations: 58.67 kB / 0.7237 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.2174, allocations: 24.84 kB / 0.7237 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.2178, allocations: 158.3 kB / 0.7238 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2178, allocations: 8.703 kB / 0.7239 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.426e-05/0.2179, allocations: 24.11 kB / 0.7239 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.2185, allocations: 487.4 kB / 0.7243 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.2185, allocations: 3.938 kB / 0.7243 GB, free: 11.17 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.2185, allocations: 8 kB / 0.7244 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.698e-05/0.2185, allocations: 4 kB / 0.7244 GB, free: 11.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006171/0.2191, allocations: 440.1 kB / 0.7248 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/0.2203, allocations: 0.8281 MB / 0.7256 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003466/0.2207, allocations: 155.4 kB / 0.7257 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.2208, allocations: 56.83 kB / 0.7258 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000835/0.2216, allocations: 451.9 kB / 0.7262 GB, free: 9.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.2217, allocations: 42.56 kB / 0.7263 GB, free: 9.109 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.864e-06/0.2217, allocations: 0 / 0.7263 GB, free: 9.109 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003806/0.222, allocations: 155.8 kB / 0.7264 GB, free: 8.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.2221, allocations: 55.34 kB / 0.7265 GB, free: 8.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2223, allocations: 171.2 kB / 0.7266 GB, free: 8.707 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.2223, allocations: 37.62 kB / 0.7267 GB, free: 8.664 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.2224, allocations: 140.1 kB / 0.7268 GB, free: 8.52 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.2225, allocations: 55.58 kB / 0.7268 GB, free: 8.465 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/0.2225, allocations: 49.7 kB / 0.7269 GB, free: 8.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.2227, allocations: 326.8 kB / 0.7272 GB, free: 8.082 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.2228, allocations: 35.97 kB / 0.7272 GB, free: 8.047 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.223, allocations: 137.7 kB / 0.7274 GB, free: 7.863 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.2232, allocations: 201.5 kB / 0.7276 GB, free: 7.617 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2232, allocations: 0 / 0.7276 GB, free: 7.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003628/0.2236, allocations: 211.6 kB / 0.7278 GB, free: 7.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.2236, allocations: 12.09 kB / 0.7278 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.2236, allocations: 4 kB / 0.7278 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.2237, allocations: 7.938 kB / 0.7278 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002115/0.2239, allocations: 59.91 kB / 0.7278 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.2239, allocations: 7.938 kB / 0.7279 GB, free: 7.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.224, allocations: 31.78 kB / 0.7279 GB, free: 7.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.224, allocations: 8 kB / 0.7279 GB, free: 7.277 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.0001416/0.2242, allocations: 145.6 kB / 0.728 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.2242, allocations: 15.91 kB / 0.728 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.2246, allocations: 162.7 kB / 0.7282 GB, free: 6.953 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.2246, allocations: 4 kB / 0.7282 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.2246, allocations: 0 / 0.7282 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2246, allocations: 0 / 0.7282 GB, free: 6.949 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.2249, allocations: 176.7 kB / 0.7284 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2249, allocations: 0 / 0.7284 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.225, allocations: 31.92 kB / 0.7284 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.225, allocations: 0 / 0.7284 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.225, allocations: 11.94 kB / 0.7284 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.225, allocations: 0 / 0.7284 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.225, allocations: 0 / 0.7284 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002952/0.2253, allocations: 233.2 kB / 0.7286 GB, free: 6.449 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.2254, allocations: 31.81 kB / 0.7287 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.2254, allocations: 7.938 kB / 0.7287 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002014/0.2256, allocations: 11.98 kB / 0.7287 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.2257, allocations: 23.84 kB / 0.7287 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.2257, allocations: 8 kB / 0.7287 GB, free: 6.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001009/0.2258, allocations: 124.9 kB / 0.7288 GB, free: 6.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2258, allocations: 0 / 0.7288 GB, free: 6.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004302/0.2262, allocations: 79.86 kB / 0.7289 GB, free: 6.168 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.0008742/0.2271, allocations: 0.8405 MB / 0.7297 GB, free: 5.301 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003204/0.2274, allocations: 115 kB / 0.7298 GB, free: 5.191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.2274, allocations: 0 / 0.7298 GB, free: 5.191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.796e-05/0.2275, allocations: 51.84 kB / 0.7299 GB, free: 5.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.228, allocations: 51.89 kB / 0.7299 GB, free: 5.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/0.2307, allocations: 2.049 MB / 0.7319 GB, free: 2.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.2308, allocations: 106.5 kB / 0.732 GB, free: 2.754 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001763/0.231, allocations: 42.8 kB / 0.7321 GB, free: 2.723 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.2311, allocations: 51.36 kB / 0.7321 GB, free: 2.676 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.2311, allocations: 0 / 0.7321 GB, free: 2.676 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.2611, allocations: 6.018 MB / 0.738 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.61, allocations: 16.8 kB / 0.738 GB, free: 12.86 MB / 0.5606 GB " [Timeout remaining time 648] (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.721455703023821] Failed to read output from testmodel.py, exit status != 0: 11.773007192998193 12.113272457 11.579309416 Calling exit ...