Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.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.001536/0.001536, allocations: 105 kB / 20.45 MB, free: 1.5 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.001735/0.001735, allocations: 219.2 kB / 23.76 MB, free: 4.711 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.485/1.485, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9751/0.9751, allocations: 150 MB / 463.9 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt") [Timeout 660] "Notification: IBPSA 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.003109/0.003109, allocations: 74.09 kB / 0.6425 GB, free: 9.797 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2235, allocations: 89.17 MB / 0.7296 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt): time 0.001807/0.2253, allocations: 0.6595 MB / 0.7303 GB, free: 28 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.2264, allocations: 0.8277 MB / 0.7311 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.91e-05/0.2264, allocations: 0 / 0.7311 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.2264, allocations: 3.938 kB / 0.7311 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.598e-05/0.2265, allocations: 7.938 kB / 0.7311 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.2266, allocations: 12 kB / 0.7311 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.319e-05/0.2267, allocations: 19.98 kB / 0.7311 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.143e-05/0.2268, allocations: 11.92 kB / 0.7311 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.621e-05/0.2268, allocations: 11.94 kB / 0.7311 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.2269, allocations: 7.984 kB / 0.7311 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.2269, allocations: 4 kB / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.863e-06/0.2269, allocations: 0 / 0.7312 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.2269, allocations: 11.98 kB / 0.7312 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.227, allocations: 3.938 kB / 0.7312 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.793e-05/0.227, allocations: 27.91 kB / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2271, allocations: 0 / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2271, allocations: 0 / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.649e-06/0.2271, allocations: 0 / 0.7312 GB, free: 15.07 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004336/0.2275, allocations: 266.3 kB / 0.7314 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.2275, allocations: 8.031 kB / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.923e-05/0.2276, allocations: 0.9375 kB / 0.7315 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2277, allocations: 114.5 kB / 0.7316 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.2277, allocations: 384 / 0.7316 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.2277, allocations: 12.36 kB / 0.7316 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.2279, allocations: 50.17 kB / 0.7316 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.2279, allocations: 192 / 0.7316 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2279, allocations: 7.938 kB / 0.7316 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.2279, allocations: 0 / 0.7316 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.228, allocations: 27.97 kB / 0.7317 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.2284, allocations: 216 kB / 0.7319 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.2285, allocations: 42.53 kB / 0.7319 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.582e-05/0.2286, allocations: 28.84 kB / 0.7319 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.2286, allocations: 3.938 kB / 0.7319 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2286, allocations: 34.5 kB / 0.732 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.2286, allocations: 4 kB / 0.732 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003281/0.229, allocations: 77.64 kB / 0.732 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.229, allocations: 55.41 kB / 0.7321 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.942e-05/0.2291, allocations: 97.84 kB / 0.7322 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.2291, allocations: 25.7 kB / 0.7322 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.2292, allocations: 88.14 kB / 0.7323 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.2292, allocations: 8.078 kB / 0.7323 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.2292, allocations: 13.72 kB / 0.7323 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2294, allocations: 318.8 kB / 0.7326 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.742e-05/0.2294, allocations: 15.92 kB / 0.7326 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.2295, allocations: 15.98 kB / 0.7327 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.2296, allocations: 40.89 kB / 0.7327 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2296, allocations: 0 / 0.7327 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000183/0.2298, allocations: 69.59 kB / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2298, allocations: 4 kB / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.2298, allocations: 0 / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2299, allocations: 0 / 0.7328 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.231e-05/0.2299, allocations: 11.98 kB / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.2299, allocations: 0 / 0.7328 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.23, allocations: 12.02 kB / 0.7328 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.23, allocations: 3.938 kB / 0.7328 GB, free: 13.24 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.08e-05/0.2301, allocations: 113.8 kB / 0.7329 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.2301, allocations: 7.953 kB / 0.7329 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.2301, allocations: 3.312 kB / 0.7329 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.2301, allocations: 0 / 0.7329 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2301, allocations: 4 kB / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2301, allocations: 4 kB / 0.7329 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.2303, allocations: 144.6 kB / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2303, allocations: 0 / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.687e-05/0.2303, allocations: 4 kB / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2303, allocations: 0 / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.2304, allocations: 4 kB / 0.7331 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2304, allocations: 3.984 kB / 0.7331 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2304, allocations: 0 / 0.7331 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002354/0.2306, allocations: 163.5 kB / 0.7332 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.424e-06/0.2306, allocations: 7.922 kB / 0.7332 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.2306, allocations: 0 / 0.7332 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/0.2307, allocations: 7.938 kB / 0.7332 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.2307, allocations: 3.984 kB / 0.7332 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.2307, allocations: 4.188 kB / 0.7332 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.284e-05/0.2308, allocations: 87.2 kB / 0.7333 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2308, allocations: 4 kB / 0.7333 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002037/0.231, allocations: 4.031 kB / 0.7333 GB, free: 12.61 MB / 0.5606 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 (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.0001245/0.2311, allocations: 99.23 kB / 0.7334 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.2313, allocations: 35.95 kB / 0.7335 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.2313, allocations: 0 / 0.7335 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.113e-05/0.2314, allocations: 19.98 kB / 0.7335 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.2317, allocations: 10.17 kB / 0.7335 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002851/0.2319, allocations: 131.2 kB / 0.7336 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.2322, allocations: 0.6768 MB / 0.7343 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.2322, allocations: 11.44 kB / 0.7343 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2322, allocations: 0 / 0.7343 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.001883/0.2341, allocations: 0.5407 MB / 0.7348 GB, free: 11.02 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Sqrt.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.974845379125327] Failed to read output from testmodel.py, exit status != 0: 0.24447020119987428 0.256699838 0.026468976 Calling exit ...