Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.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.00131/0.00131, allocations: 82.8 kB / 19.94 MB, free: 1.777 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.001613/0.001613, allocations: 164.1 kB / 23.21 MB, free: 4.91 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.385/1.385, allocations: 177.1 MB / 203.5 MB, free: 9.18 MB / 190.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.909/0.909, allocations: 114 MB / 373.9 MB, free: 13.24 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.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.273e-05/2.398e-05, allocations: 3.094 kB / 0.5547 GB, free: 2.625 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002345/0.002369, allocations: 1.46 MB / 0.5561 GB, free: 1.164 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006605/0.003029, allocations: 358.6 kB / 0.5564 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.00306, allocations: 0 / 0.5564 GB, free: 0.8125 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.693e-05/0.003087, allocations: 3.938 kB / 0.5564 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 3.073e-05/0.003118, allocations: 0 / 0.5564 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.003518, allocations: 122.8 kB / 0.5566 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.003589, allocations: 35.84 kB / 0.5566 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.822e-05/0.003668, allocations: 7.984 kB / 0.5566 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.148e-05/0.003709, allocations: 12 kB / 0.5566 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.133e-05/0.00374, allocations: 7.984 kB / 0.5566 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.003755, allocations: 4 kB / 0.5566 GB, free: 0.625 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.004118, allocations: 259.5 kB / 0.5569 GB, free: 380 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.692e-05/0.004135, allocations: 11.92 kB / 0.5569 GB, free: 368 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.004155, allocations: 7.984 kB / 0.5569 GB, free: 360 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.004374, allocations: 135.7 kB / 0.557 GB, free: 224 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004376, allocations: 4 kB / 0.557 GB, free: 220 kB / 462.1 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004376, allocations: 0 / 0.557 GB, free: 220 kB / 462.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.004384, allocations: 0 / 0.557 GB, free: 220 kB / 462.1 MB 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.0004452/0.004829, allocations: 288.6 kB / 0.5573 GB, free: 15.9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.004863, allocations: 12.62 kB / 0.5573 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/0.004908, allocations: 0.9375 kB / 0.5573 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.005021, allocations: 117.7 kB / 0.5574 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-06/0.005028, allocations: 384 / 0.5574 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.00504, allocations: 384 / 0.5574 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001782/0.005218, allocations: 54.23 kB / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.005228, allocations: 192 / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.005236, allocations: 384 / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.00524, allocations: 4.375 kB / 0.5575 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.005403, allocations: 35.84 kB / 0.5575 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.005686, allocations: 204.6 kB / 0.5577 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.005813, allocations: 34.56 kB / 0.5578 GB, free: 15.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.772e-05/0.0059, allocations: 24.89 kB / 0.5578 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004869/0.006387, allocations: 75.92 kB / 0.5578 GB, free: 15.28 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.164e-05/0.006409, allocations: 34.5 kB / 0.5579 GB, free: 15.23 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.00641, allocations: 4 kB / 0.5579 GB, free: 15.23 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003726/0.006783, allocations: 93.52 kB / 0.558 GB, free: 15.13 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.006815, allocations: 51.41 kB / 0.558 GB, free: 15.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.006894, allocations: 105.8 kB / 0.5581 GB, free: 14.96 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.006908, allocations: 25.7 kB / 0.5581 GB, free: 14.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/0.006954, allocations: 84.14 kB / 0.5582 GB, free: 14.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.38e-05/0.006968, allocations: 3.953 kB / 0.5582 GB, free: 14.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.979e-05/0.006998, allocations: 13.84 kB / 0.5582 GB, free: 14.82 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.007121, allocations: 322.8 kB / 0.5586 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.928e-05/0.0072, allocations: 15.98 kB / 0.5586 GB, free: 14.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.007271, allocations: 15.98 kB / 0.5586 GB, free: 14.46 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.007422, allocations: 44.75 kB / 0.5586 GB, free: 14.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.007423, allocations: 0 / 0.5586 GB, free: 14.41 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000213/0.007636, allocations: 69.69 kB / 0.5587 GB, free: 14.34 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.00765, allocations: 8 kB / 0.5587 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.007656, allocations: 7.922 kB / 0.5587 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.007671, allocations: 3.938 kB / 0.5587 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.007745, allocations: 7.984 kB / 0.5587 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.007748, allocations: 0 / 0.5587 GB, free: 14.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.007793, allocations: 7.984 kB / 0.5587 GB, free: 14.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.0078, allocations: 4.25 kB / 0.5587 GB, free: 14.3 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 (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 7.236e-05/0.007872, allocations: 117.8 kB / 0.5588 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.007908, allocations: 4 kB / 0.5588 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.008132, allocations: 81.16 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.008136, allocations: 4 kB / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.008139, allocations: 0 / 0.5589 GB, free: 14.09 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.008143, allocations: 3.984 kB / 0.5589 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.00826, allocations: 101.3 kB / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.008261, allocations: 0 / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.151e-05/0.008323, allocations: 16.02 kB / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.008324, allocations: 0 / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.00833, allocations: 0 / 0.559 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.008333, allocations: 3.938 kB / 0.559 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.008334, allocations: 0 / 0.559 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002522/0.008586, allocations: 167.4 kB / 0.5592 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-06/0.008591, allocations: 0 / 0.5592 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.008604, allocations: 4 kB / 0.5592 GB, free: 13.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.503e-05/0.008679, allocations: 11.92 kB / 0.5592 GB, free: 13.74 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.008712, allocations: 8.031 kB / 0.5592 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.008715, allocations: 0 / 0.5592 GB, free: 13.73 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.322e-05/0.008758, allocations: 83.27 kB / 0.5593 GB, free: 13.65 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.008758, allocations: 3.938 kB / 0.5593 GB, free: 13.64 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002366/0.008995, allocations: 19.94 kB / 0.5593 GB, free: 13.62 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 (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.0001498/0.009144, allocations: 111.2 kB / 0.5594 GB, free: 13.51 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.009355, allocations: 31.97 kB / 0.5595 GB, free: 13.48 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.009356, allocations: 4.062 kB / 0.5595 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 8.524e-05/0.009442, allocations: 23.92 kB / 0.5595 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.009712, allocations: 7.984 kB / 0.5595 GB, free: 13.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002826/0.009994, allocations: 101 kB / 0.5596 GB, free: 13.32 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.402e-05/0.01005, allocations: 59.36 kB / 0.5597 GB, free: 13.24 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.021e-05/0.01007, allocations: 3.984 kB / 0.5597 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.177e-05/0.01009, allocations: 12.44 kB / 0.5597 GB, free: 13.22 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.01009, allocations: 4.062 kB / 0.5597 GB, free: 13.22 MB / 478.1 MB Notification: Performance of Templates: time 0.003089/0.01318, allocations: 0.7495 MB / 0.5604 GB, free: 12.48 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.118134971708059] Failed to read output from testmodel.py, exit status != 0: 0.02101951465010643 0.035241390000000004 0.027913706000000003 Calling exit ...