Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.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.001302/0.001302, allocations: 114.5 kB / 17.13 MB, free: 6.047 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.001625/0.001625, allocations: 207.2 kB / 20.09 MB, free: 3.098 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.691/1.691, allocations: 230.5 MB / 253.5 MB, free: 15.06 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 1.062/1.062, allocations: 149.9 MB / 459.5 MB, free: 5.254 MB / 350.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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add") [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.00205/0.00205, allocations: 65.78 kB / 0.6366 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2582, allocations: 89.14 MB / 0.7237 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Add): time 0.002383/0.2606, allocations: 0.6866 MB / 0.7244 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2618, allocations: 0.8319 MB / 0.7252 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.002e-05/0.2619, allocations: 0 / 0.7252 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.2619, allocations: 3.938 kB / 0.7252 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.627e-05/0.262, allocations: 19.84 kB / 0.7252 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 7.526e-05/0.2621, allocations: 11.98 kB / 0.7252 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.345e-05/0.2621, allocations: 39.86 kB / 0.7252 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.2623, allocations: 11.98 kB / 0.7252 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.421e-05/0.2624, allocations: 23.92 kB / 0.7253 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.903e-05/0.2624, allocations: 19.92 kB / 0.7253 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.2624, allocations: 4 kB / 0.7253 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.2624, allocations: 7.938 kB / 0.7253 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.2625, allocations: 7.984 kB / 0.7253 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.417e-05/0.2625, allocations: 15.88 kB / 0.7253 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.2626, allocations: 43.8 kB / 0.7254 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2626, allocations: 0 / 0.7254 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2626, allocations: 0 / 0.7254 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.2626, allocations: 0 / 0.7254 GB, free: 1.711 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006868/0.2633, allocations: 371.3 kB / 0.7257 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2634, allocations: 8.031 kB / 0.7257 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.2634, allocations: 4.938 kB / 0.7257 GB, free: 1.281 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.2636, allocations: 172.3 kB / 0.7259 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2636, allocations: 384 / 0.7259 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.2636, allocations: 384 / 0.7259 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002881/0.2639, allocations: 78.2 kB / 0.726 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2639, allocations: 192 / 0.726 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.2639, allocations: 3.938 kB / 0.726 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2639, allocations: 3.938 kB / 0.726 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.2642, allocations: 63.94 kB / 0.726 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.2647, allocations: 261 kB / 0.7263 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.2649, allocations: 62.47 kB / 0.7263 GB, free: 0.5469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.2651, allocations: 40.92 kB / 0.7264 GB, free: 0.5039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.2651, allocations: 3.984 kB / 0.7264 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.2651, allocations: 34.5 kB / 0.7264 GB, free: 468 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.2651, allocations: 4 kB / 0.7264 GB, free: 464 kB / 0.5294 GB Notification: Performance of matching and sorting (n=3): time 0.0005689/0.2657, allocations: 125.5 kB / 0.7265 GB, free: 332 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.618e-05/0.2657, allocations: 51.41 kB / 0.7266 GB, free: 268 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.2658, allocations: 109.8 kB / 0.7267 GB, free: 148 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.2658, allocations: 33.7 kB / 0.7267 GB, free: 108 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.349e-05/0.2659, allocations: 88.06 kB / 0.7268 GB, free: 16 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.2659, allocations: 15.91 kB / 0.7268 GB, free: 0 / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/0.266, allocations: 9.719 kB / 0.7268 GB, free: 15.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2661, allocations: 318.8 kB / 0.7271 GB, free: 15.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001544/0.2663, allocations: 31.95 kB / 0.7272 GB, free: 15.63 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.2664, allocations: 31.91 kB / 0.7272 GB, free: 15.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.2667, allocations: 68.78 kB / 0.7273 GB, free: 15.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2667, allocations: 7.875 kB / 0.7273 GB, free: 15.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003525/0.2671, allocations: 102 kB / 0.7274 GB, free: 15.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.2671, allocations: 4 kB / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.2671, allocations: 0 / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.2671, allocations: 0 / 0.7274 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.2673, allocations: 19.97 kB / 0.7274 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2673, allocations: 0 / 0.7274 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.2673, allocations: 11.98 kB / 0.7274 GB, free: 15.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.2673, allocations: 3.984 kB / 0.7274 GB, free: 15.38 MB / 0.545 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 (3): * Single equations (assignments): 3 * 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 0.0001163/0.2675, allocations: 125.7 kB / 0.7275 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.2675, allocations: 3.953 kB / 0.7275 GB, free: 15.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.866e-05/0.2675, allocations: 3.906 kB / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2675, allocations: 4 kB / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2675, allocations: 0 / 0.7275 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.2675, allocations: 3.984 kB / 0.7276 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.2678, allocations: 177.5 kB / 0.7277 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2678, allocations: 0 / 0.7277 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.276e-05/0.2679, allocations: 11.98 kB / 0.7277 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.2679, allocations: 8 kB / 0.7277 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.2679, allocations: 0 / 0.7277 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2679, allocations: 0 / 0.7277 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.2679, allocations: 0 / 0.7277 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000433/0.2683, allocations: 195.4 kB / 0.7279 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.943e-05/0.2684, allocations: 85.06 kB / 0.728 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.2684, allocations: 4 kB / 0.728 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.2685, allocations: 11.92 kB / 0.728 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.2686, allocations: 15.98 kB / 0.728 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-06/0.2686, allocations: 0 / 0.728 GB, free: 14.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.449e-05/0.2687, allocations: 83.28 kB / 0.7281 GB, free: 14.56 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2687, allocations: 3.938 kB / 0.7281 GB, free: 14.55 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002145/0.2689, allocations: 8 kB / 0.7281 GB, free: 14.55 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 (3): * Single equations (assignments): 3 * 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.0002619/0.2691, allocations: 103.2 kB / 0.7282 GB, free: 14.44 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003879/0.2695, allocations: 71.92 kB / 0.7283 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2695, allocations: 0 / 0.7283 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.2697, allocations: 35.91 kB / 0.7283 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2701, allocations: 19.16 kB / 0.7283 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004643/0.2705, allocations: 123.3 kB / 0.7285 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/0.271, allocations: 0.6807 MB / 0.7291 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.271, allocations: 7.938 kB / 0.7291 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.2711, allocations: 7.438 kB / 0.7291 GB, free: 13.45 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.2711, allocations: 0 / 0.7291 GB, free: 13.45 MB / 0.545 GB Notification: Performance of Templates: time 0.00367/0.2747, allocations: 0.6723 MB / 0.7298 GB, free: 12.79 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.313294561114162] Failed to read output from testmodel.py, exit status != 0: 0.2829048379790038 0.29613076499999996 0.03077574499999994 Calling exit ...