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.001283/0.001283, allocations: 76.86 kB / 19.93 MB, free: 1.77 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.001384/0.001384, allocations: 168.7 kB / 23.22 MB, free: 4.887 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.379/1.379, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] 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.913/0.913, allocations: 114 MB / 373.9 MB, free: 13.23 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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.5547 GB, free: 2.574 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.313e-05/2.517e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.57 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Add): time 0.001791/0.001816, allocations: 0.688 MB / 0.5554 GB, free: 1.898 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.0029, allocations: 0.8319 MB / 0.5562 GB, free: 1.055 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.125e-05/0.002941, allocations: 0 / 0.5562 GB, free: 1.055 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.002969, allocations: 7.984 kB / 0.5562 GB, free: 1.047 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.00303, allocations: 11.88 kB / 0.5562 GB, free: 1.035 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.772e-05/0.003088, allocations: 11.98 kB / 0.5563 GB, free: 1.023 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.003178, allocations: 39.86 kB / 0.5563 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003283, allocations: 15.97 kB / 0.5563 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.863e-05/0.003362, allocations: 19.98 kB / 0.5563 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.207e-05/0.003404, allocations: 15.92 kB / 0.5563 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.003433, allocations: 4 kB / 0.5563 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.003442, allocations: 4 kB / 0.5564 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.801e-05/0.00346, allocations: 11.98 kB / 0.5564 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.765e-05/0.003488, allocations: 8 kB / 0.5564 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003599, allocations: 47.84 kB / 0.5564 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.003602, allocations: 0 / 0.5564 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.003602, allocations: 0 / 0.5564 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.003613, allocations: 3.938 kB / 0.5564 GB, free: 0.8555 MB / 462.1 MB 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.0005139/0.004127, allocations: 282.3 kB / 0.5567 GB, free: 0.5469 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.004163, allocations: 12.62 kB / 0.5567 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.004191, allocations: 4.891 kB / 0.5567 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.004339, allocations: 121.7 kB / 0.5568 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.004353, allocations: 384 / 0.5568 GB, free: 396 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.004371, allocations: 4.375 kB / 0.5568 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000262/0.004633, allocations: 66.22 kB / 0.5569 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.004644, allocations: 192 / 0.5569 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-06/0.004653, allocations: 384 / 0.5569 GB, free: 320 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.004659, allocations: 4.375 kB / 0.5569 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.004959, allocations: 67.86 kB / 0.557 GB, free: 248 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003427/0.005302, allocations: 212.5 kB / 0.5572 GB, free: 4 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.005527, allocations: 54.53 kB / 0.5572 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/0.005694, allocations: 36.92 kB / 0.5572 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.005708, allocations: 0 / 0.5572 GB, free: 15.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.005738, allocations: 46.48 kB / 0.5573 GB, free: 15.85 MB / 478.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.005739, allocations: 4 kB / 0.5573 GB, free: 15.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005575/0.006297, allocations: 129.5 kB / 0.5574 GB, free: 15.71 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.006343, allocations: 51.41 kB / 0.5575 GB, free: 15.65 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.006447, allocations: 113.8 kB / 0.5576 GB, free: 15.53 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.892e-05/0.006466, allocations: 25.7 kB / 0.5576 GB, free: 15.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.006535, allocations: 96.08 kB / 0.5577 GB, free: 15.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.006557, allocations: 11.89 kB / 0.5577 GB, free: 15.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.006596, allocations: 13.72 kB / 0.5577 GB, free: 15.37 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.006745, allocations: 314.8 kB / 0.558 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.006898, allocations: 31.95 kB / 0.558 GB, free: 15.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001491/0.007047, allocations: 27.97 kB / 0.5581 GB, free: 14.99 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.007339, allocations: 76.72 kB / 0.5581 GB, free: 14.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.007341, allocations: 0 / 0.5581 GB, free: 14.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003431/0.007684, allocations: 93.62 kB / 0.5582 GB, free: 14.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.007699, allocations: 7.938 kB / 0.5582 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.007703, allocations: 0 / 0.5582 GB, free: 14.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.007718, allocations: 4.328 kB / 0.5583 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001271/0.007845, allocations: 19.97 kB / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.007849, allocations: 0 / 0.5583 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.443e-05/0.007934, allocations: 15.94 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.00794, allocations: 0 / 0.5583 GB, free: 14.77 MB / 478.1 MB 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.0001047/0.008044, allocations: 117.8 kB / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.008069, allocations: 0 / 0.5584 GB, free: 14.64 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.0081, allocations: 19.92 kB / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.008102, allocations: 0 / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.008107, allocations: 8 kB / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.00811, allocations: 0 / 0.5584 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.00826, allocations: 109.3 kB / 0.5585 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.008263, allocations: 3.984 kB / 0.5585 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.008367, allocations: 19.92 kB / 0.5586 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.008369, allocations: 0 / 0.5586 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.008375, allocations: 0 / 0.5586 GB, free: 14.46 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.008379, allocations: 3.938 kB / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.00838, allocations: 0 / 0.5586 GB, free: 14.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.008779, allocations: 195.4 kB / 0.5587 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.00879, allocations: 7.984 kB / 0.5587 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.008802, allocations: 0 / 0.5587 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.008916, allocations: 15.92 kB / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.008956, allocations: 0 / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.00896, allocations: 3.938 kB / 0.5588 GB, free: 14.22 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.83e-05/0.009018, allocations: 95.25 kB / 0.5589 GB, free: 14.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.009018, allocations: 3.938 kB / 0.5589 GB, free: 14.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.00924, allocations: 12 kB / 0.5589 GB, free: 14.11 MB / 478.1 MB 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.000124/0.009364, allocations: 95.19 kB / 0.559 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0003445/0.009709, allocations: 63.92 kB / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00971, allocations: 0 / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.009875, allocations: 43.95 kB / 0.5591 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.01016, allocations: 5.562 kB / 0.5591 GB, free: 13.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.01051, allocations: 136.7 kB / 0.5592 GB, free: 13.74 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.666e-05/0.01058, allocations: 67.3 kB / 0.5593 GB, free: 13.65 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.628e-05/0.0106, allocations: 3.938 kB / 0.5593 GB, free: 13.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.01064, allocations: 12.5 kB / 0.5593 GB, free: 13.64 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.01064, allocations: 4 kB / 0.5593 GB, free: 13.63 MB / 478.1 MB Notification: Performance of Templates: time 0.003265/0.0139, allocations: 0.7206 MB / 0.56 GB, free: 12.93 MB / 478.1 MB " [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: 5.071841482073069] Failed to read output from testmodel.py, exit status != 0: 0.022479761391878128 0.037494005000000004 0.030733255 Calling exit ...