Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example5.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.001833/0.001833, allocations: 79.58 kB / 19.76 MB, free: 1.898 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.002174/0.002174, allocations: 159.4 kB / 23.01 MB, free: 4.574 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.506/1.506, allocations: 177.2 MB / 203.4 MB, free: 9.266 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.8698/0.8698, allocations: 101.3 MB / 361.1 MB, free: 10.07 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.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") translateModel(IDEAS.Fluid.Examples.Performance.Example5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example5") [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.002134/0.002134, allocations: 62.41 kB / 0.5356 GB, free: 5.52 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.2156/0.2177, allocations: 85.88 MB / 0.6195 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001912/0.2196, allocations: 0.5276 MB / 0.62 GB, free: 1.328 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001827/0.2198, allocations: 40.22 kB / 0.62 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.386e-05/0.2199, allocations: 0 / 0.62 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.305e-05/0.2199, allocations: 0 / 0.62 GB, free: 1.289 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.22, allocations: 7.938 kB / 0.62 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 6.351e-05/0.2201, allocations: 11.92 kB / 0.6201 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.643e-05/0.2202, allocations: 4 kB / 0.6201 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.793e-05/0.2202, allocations: 4 kB / 0.6201 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.959e-05/0.2203, allocations: 7.969 kB / 0.6201 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.916e-05/0.2203, allocations: 8 kB / 0.6201 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.2204, allocations: 4 kB / 0.6201 GB, free: 1.242 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.2204, allocations: 4 kB / 0.6201 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.54e-05/0.2204, allocations: 7.922 kB / 0.6201 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.2204, allocations: 7.938 kB / 0.6201 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 5.657e-05/0.2205, allocations: 11.92 kB / 0.6201 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2205, allocations: 0 / 0.6201 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd: time 8.01e-07/0.2205, allocations: 0 / 0.6201 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2205, allocations: 0 / 0.6201 GB, free: 1.211 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004072/0.2209, allocations: 254.4 kB / 0.6204 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.221, allocations: 8.031 kB / 0.6204 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.221, allocations: 8.891 kB / 0.6204 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.2212, allocations: 130.5 kB / 0.6205 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.2212, allocations: 4.375 kB / 0.6205 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.2212, allocations: 384 / 0.6205 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.189e-05/0.2213, allocations: 33.64 kB / 0.6205 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2213, allocations: 3.984 kB / 0.6205 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.2213, allocations: 0 / 0.6205 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2213, allocations: 0 / 0.6205 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.039e-05/0.2213, allocations: 7.938 kB / 0.6205 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001489/0.2215, allocations: 105.3 kB / 0.6206 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.567e-05/0.2215, allocations: 22.59 kB / 0.6207 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.2216, allocations: 12.92 kB / 0.6207 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.408e-06/0.2216, allocations: 0 / 0.6207 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.2216, allocations: 34.5 kB / 0.6207 GB, free: 500 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 6.31e-07/0.2216, allocations: 0 / 0.6207 GB, free: 500 kB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0002302/0.2218, allocations: 45.62 kB / 0.6208 GB, free: 448 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.2219, allocations: 55.39 kB / 0.6208 GB, free: 380 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.222, allocations: 109.8 kB / 0.6209 GB, free: 260 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.2221, allocations: 25.7 kB / 0.6209 GB, free: 228 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.716e-05/0.2221, allocations: 84.14 kB / 0.621 GB, free: 140 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.2222, allocations: 3.953 kB / 0.621 GB, free: 136 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.2222, allocations: 21.84 kB / 0.621 GB, free: 108 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.2224, allocations: 310.8 kB / 0.6213 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.946e-05/0.2224, allocations: 7.984 kB / 0.6213 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.706e-05/0.2224, allocations: 17.66 kB / 0.6214 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.899e-05/0.2225, allocations: 29.64 kB / 0.6214 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2225, allocations: 0 / 0.6214 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.971e-05/0.2225, allocations: 45.67 kB / 0.6214 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.2226, allocations: 8.062 kB / 0.6214 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2226, allocations: 4 kB / 0.6214 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.2226, allocations: 4 kB / 0.6214 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.2226, allocations: 4 kB / 0.6215 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2226, allocations: 3.938 kB / 0.6215 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.69e-05/0.2227, allocations: 4 kB / 0.6215 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.2227, allocations: 0 / 0.6215 GB, free: 15.65 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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 9.085e-05/0.2228, allocations: 113.8 kB / 0.6216 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.2228, allocations: 7.891 kB / 0.6216 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.223, allocations: 48.84 kB / 0.6216 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.223, allocations: 4.031 kB / 0.6216 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.223, allocations: 0 / 0.6216 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.223, allocations: 0 / 0.6216 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.2231, allocations: 109.3 kB / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2231, allocations: 256 / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.2232, allocations: 4 kB / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.2232, allocations: 4 kB / 0.6217 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.2232, allocations: 3.938 kB / 0.6217 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2232, allocations: 3.938 kB / 0.6217 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2232, allocations: 0 / 0.6217 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.2234, allocations: 81.14 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.2234, allocations: 0 / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.2234, allocations: 3.938 kB / 0.6218 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.2234, allocations: 3.938 kB / 0.6218 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.2234, allocations: 7.984 kB / 0.6218 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.2234, allocations: 0 / 0.6218 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.2235, allocations: 87.28 kB / 0.6219 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.2235, allocations: 0 / 0.6219 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0001856/0.2237, allocations: 0 / 0.6219 GB, free: 15.11 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * 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.0001225/0.2238, allocations: 95.23 kB / 0.622 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.2239, allocations: 24.03 kB / 0.622 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2239, allocations: 0 / 0.622 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.648e-05/0.2239, allocations: 11.92 kB / 0.622 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.2241, allocations: 0 / 0.622 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/0.2244, allocations: 121.3 kB / 0.6222 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.014e-05/0.2245, allocations: 63.34 kB / 0.6222 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.576e-05/0.2245, allocations: 0 / 0.6222 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.131e-05/0.2245, allocations: 12.5 kB / 0.6222 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.2245, allocations: 192 / 0.6222 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of Templates: time 0.002596/0.2271, allocations: 321.1 kB / 0.6225 GB, free: 14.42 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example5.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example5 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.784858311060816] Failed to read output from testmodel.py, exit status != 0: 0.23581718793138862 0.25291018699999995 0.029178005000000003 Calling exit ...