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.001489/0.001489, allocations: 78.64 kB / 19.76 MB, free: 2.035 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.001653/0.001653, allocations: 159.3 kB / 23.01 MB, free: 4.941 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.481/1.481, allocations: 177.2 MB / 203.4 MB, free: 8.938 MB / 190.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.8149/0.8149, allocations: 101.3 MB / 361.1 MB, free: 9.555 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT") [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.002014/0.002014, allocations: 67.61 kB / 0.5357 GB, free: 5.18 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2003, allocations: 85.87 MB / 0.6196 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01869/0.219, allocations: 11.96 MB / 0.6312 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003442/0.2225, allocations: 2.422 MB / 0.6336 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.724e-05/0.2225, allocations: 4 kB / 0.6336 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.2228, allocations: 39.7 kB / 0.6336 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002996/0.2231, allocations: 103.3 kB / 0.6337 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001288/0.2244, allocations: 0.5353 MB / 0.6343 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.2247, allocations: 228 kB / 0.6345 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.886e-05/0.2248, allocations: 9.812 kB / 0.6345 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009401/0.2342, allocations: 3.592 MB / 0.638 GB, free: 14.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.2344, allocations: 91.53 kB / 0.6381 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.2344, allocations: 8 kB / 0.6381 GB, free: 14.47 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002688/0.2371, allocations: 1.03 MB / 0.6391 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.2372, allocations: 35.89 kB / 0.6391 GB, free: 13.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.2373, allocations: 71.72 kB / 0.6392 GB, free: 13.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007676/0.2381, allocations: 366.8 kB / 0.6395 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2381, allocations: 0 / 0.6395 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2381, allocations: 0 / 0.6395 GB, free: 12.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2381, allocations: 0 / 0.6395 GB, free: 12.97 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.0008435/0.2389, allocations: 457.4 kB / 0.64 GB, free: 12.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.239, allocations: 8.031 kB / 0.64 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.2391, allocations: 24.84 kB / 0.64 GB, free: 12.46 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.2395, allocations: 158.3 kB / 0.6402 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2395, allocations: 12.7 kB / 0.6402 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.2395, allocations: 12.38 kB / 0.6402 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005702/0.2401, allocations: 488.2 kB / 0.6407 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2401, allocations: 0 / 0.6407 GB, free: 11.71 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.2401, allocations: 8 kB / 0.6407 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.2401, allocations: 12 kB / 0.6407 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005389/0.2407, allocations: 420.1 kB / 0.6411 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001258/0.2419, allocations: 0.7896 MB / 0.6418 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000344/0.2423, allocations: 152.6 kB / 0.642 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.2424, allocations: 56.81 kB / 0.642 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007576/0.2431, allocations: 463.9 kB / 0.6425 GB, free: 9.758 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.2432, allocations: 38.56 kB / 0.6425 GB, free: 9.711 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.2432, allocations: 0 / 0.6425 GB, free: 9.711 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003559/0.2435, allocations: 144.3 kB / 0.6427 GB, free: 9.566 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.2436, allocations: 55.41 kB / 0.6427 GB, free: 9.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.2437, allocations: 166.4 kB / 0.6429 GB, free: 9.328 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.2438, allocations: 29.7 kB / 0.6429 GB, free: 9.293 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.2439, allocations: 144.1 kB / 0.643 GB, free: 9.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.244, allocations: 55.53 kB / 0.6431 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.244, allocations: 53.66 kB / 0.6431 GB, free: 9.035 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002094/0.2443, allocations: 322.8 kB / 0.6435 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.2443, allocations: 43.97 kB / 0.6435 GB, free: 8.668 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.2445, allocations: 133.7 kB / 0.6436 GB, free: 8.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.2448, allocations: 197.5 kB / 0.6438 GB, free: 8.246 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.2448, allocations: 0 / 0.6438 GB, free: 8.246 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003531/0.2452, allocations: 227.8 kB / 0.644 GB, free: 8.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.2452, allocations: 8 kB / 0.644 GB, free: 8.012 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.2452, allocations: 4 kB / 0.644 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2452, allocations: 4 kB / 0.644 GB, free: 8.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.2454, allocations: 59.92 kB / 0.6441 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.2454, allocations: 11.92 kB / 0.6441 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.2456, allocations: 23.83 kB / 0.6441 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.2456, allocations: 15.94 kB / 0.6441 GB, free: 7.895 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.0001263/0.2457, allocations: 138 kB / 0.6443 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.2458, allocations: 15.91 kB / 0.6443 GB, free: 7.734 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.2461, allocations: 159.2 kB / 0.6444 GB, free: 7.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.2461, allocations: 4 kB / 0.6445 GB, free: 7.566 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2461, allocations: 3.938 kB / 0.6445 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2461, allocations: 0 / 0.6445 GB, free: 7.562 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.2463, allocations: 153.2 kB / 0.6446 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2463, allocations: 4 kB / 0.6446 GB, free: 7.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.2464, allocations: 27.98 kB / 0.6446 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.2464, allocations: 4 kB / 0.6446 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.2465, allocations: 4 kB / 0.6446 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2465, allocations: 0 / 0.6446 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2465, allocations: 0 / 0.6446 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.2467, allocations: 229.7 kB / 0.6449 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-05/0.2468, allocations: 27.86 kB / 0.6449 GB, free: 7.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.2468, allocations: 4 kB / 0.6449 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.247, allocations: 11.98 kB / 0.6449 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.247, allocations: 11.98 kB / 0.6449 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.108e-05/0.2471, allocations: 19.92 kB / 0.6449 GB, free: 7.031 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.806e-05/0.2472, allocations: 114.5 kB / 0.645 GB, free: 6.922 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2472, allocations: 4 kB / 0.645 GB, free: 6.918 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004032/0.2476, allocations: 75.83 kB / 0.6451 GB, free: 6.844 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.0003198/0.2479, allocations: 194.4 kB / 0.6453 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002772/0.2482, allocations: 115.8 kB / 0.6454 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2482, allocations: 3.938 kB / 0.6454 GB, free: 6.531 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.645e-05/0.2482, allocations: 39.91 kB / 0.6455 GB, free: 6.492 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.2486, allocations: 39.11 kB / 0.6455 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008364/0.2495, allocations: 352 kB / 0.6458 GB, free: 6.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.2496, allocations: 106.5 kB / 0.6459 GB, free: 5.965 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002204/0.2498, allocations: 45.27 kB / 0.646 GB, free: 5.922 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.593e-05/0.2499, allocations: 20.5 kB / 0.646 GB, free: 5.902 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.2499, allocations: 4 kB / 0.646 GB, free: 5.898 MB / 0.545 GB Notification: Performance of Templates: time 0.00821/0.2581, allocations: 3.322 MB / 0.6492 GB, free: 2.641 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 660] (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 & ./IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.732431922922842] Failed to read output from testmodel.py, exit status != 0: 0.2667426180560142 0.282889445 0.041594099 Calling exit ...