Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.00137/0.00137, allocations: 82.64 kB / 19.94 MB, free: 1.781 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.001427/0.001427, allocations: 163.5 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.393/1.393, allocations: 177.1 MB / 203.5 MB, free: 9.168 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.9204/0.9204, 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5547 GB, free: 2.566 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.763e-05, allocations: 3.938 kB / 0.5547 GB, free: 2.562 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001821/0.001848, allocations: 0.5848 MB / 0.5553 GB, free: 1.988 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007403/0.002588, allocations: 299.3 kB / 0.5556 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.002606, allocations: 0 / 0.5556 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.359e-05/0.002619, allocations: 0 / 0.5556 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 7.013e-06/0.002626, allocations: 0 / 0.5556 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.003112, allocations: 114.7 kB / 0.5557 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.18e-05/0.003164, allocations: 4 kB / 0.5557 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.969e-05/0.003213, allocations: 0 / 0.5557 GB, free: 1.582 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.102e-05/0.003244, allocations: 3.938 kB / 0.5557 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.699e-05/0.003271, allocations: 4 kB / 0.5557 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.003286, allocations: 0 / 0.5557 GB, free: 1.574 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004677/0.003754, allocations: 271.5 kB / 0.556 GB, free: 1.309 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.485e-05/0.003769, allocations: 0 / 0.556 GB, free: 1.309 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.374e-05/0.003782, allocations: 0 / 0.556 GB, free: 1.309 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.004003, allocations: 111.8 kB / 0.5561 GB, free: 1.199 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.004006, allocations: 0 / 0.5561 GB, free: 1.199 MB / 462.1 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004006, allocations: 0 / 0.5561 GB, free: 1.199 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.00401, allocations: 0 / 0.5561 GB, free: 1.199 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004146/0.004424, allocations: 258.2 kB / 0.5563 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.004467, allocations: 8.625 kB / 0.5563 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.43e-05/0.004531, allocations: 4.938 kB / 0.5563 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.142e-05/0.004623, allocations: 101.8 kB / 0.5564 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.004641, allocations: 4.375 kB / 0.5564 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.004653, allocations: 384 / 0.5564 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.601e-05/0.004749, allocations: 30.27 kB / 0.5565 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.004758, allocations: 192 / 0.5565 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.004767, allocations: 384 / 0.5565 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.004773, allocations: 4.375 kB / 0.5565 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.004794, allocations: 7.875 kB / 0.5565 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001927/0.004987, allocations: 97.31 kB / 0.5566 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.218e-05/0.005039, allocations: 22.61 kB / 0.5566 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.005057, allocations: 4.859 kB / 0.5566 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003487/0.005406, allocations: 55.83 kB / 0.5566 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.926e-05/0.005455, allocations: 34.56 kB / 0.5567 GB, free: 476 kB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.41e-07/0.005456, allocations: 0 / 0.5567 GB, free: 476 kB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001626/0.005619, allocations: 45.7 kB / 0.5567 GB, free: 424 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/0.005657, allocations: 55.44 kB / 0.5568 GB, free: 356 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.668e-05/0.005703, allocations: 89.86 kB / 0.5569 GB, free: 256 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.005759, allocations: 25.7 kB / 0.5569 GB, free: 224 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.533e-05/0.005795, allocations: 80.14 kB / 0.557 GB, free: 140 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.00582, allocations: 0 / 0.557 GB, free: 140 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.129e-05/0.005852, allocations: 17.72 kB / 0.557 GB, free: 116 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.006023, allocations: 318.8 kB / 0.5573 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/0.006032, allocations: 0 / 0.5573 GB, free: 15.79 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.428e-06/0.006041, allocations: 7.984 kB / 0.5573 GB, free: 15.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.285e-05/0.006074, allocations: 8.922 kB / 0.5573 GB, free: 15.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.006076, allocations: 0 / 0.5573 GB, free: 15.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.663e-05/0.006153, allocations: 37.64 kB / 0.5573 GB, free: 15.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.006166, allocations: 4 kB / 0.5573 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.006171, allocations: 0 / 0.5573 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.006185, allocations: 0 / 0.5573 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.41e-05/0.006229, allocations: 4 kB / 0.5573 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.006234, allocations: 0 / 0.5573 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.149e-05/0.006245, allocations: 3.938 kB / 0.5574 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.00625, allocations: 0 / 0.5574 GB, free: 15.72 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 (1): * Single equations (assignments): 1 * 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.667e-05/0.006337, allocations: 126.9 kB / 0.5575 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.86e-05/0.006355, allocations: 0 / 0.5575 GB, free: 15.59 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.572e-05/0.006441, allocations: 32.7 kB / 0.5575 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-06/0.006442, allocations: 0 / 0.5575 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006446, allocations: 0 / 0.5575 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.006451, allocations: 4 kB / 0.5575 GB, free: 15.54 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.927e-05/0.00654, allocations: 101.2 kB / 0.5576 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.006541, allocations: 3.938 kB / 0.5576 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.006556, allocations: 4 kB / 0.5576 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.00656, allocations: 4 kB / 0.5576 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.006565, allocations: 4.031 kB / 0.5576 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.006566, allocations: 0 / 0.5576 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006567, allocations: 0 / 0.5576 GB, free: 15.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.009e-05/0.006657, allocations: 69 kB / 0.5577 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.436e-06/0.00666, allocations: 0 / 0.5577 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.138e-06/0.00667, allocations: 0 / 0.5577 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-06/0.006676, allocations: 0 / 0.5577 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.006692, allocations: 4 kB / 0.5577 GB, free: 15.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.006694, allocations: 0 / 0.5577 GB, free: 15.31 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.438e-05/0.006738, allocations: 79.22 kB / 0.5578 GB, free: 15.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.006738, allocations: 4.031 kB / 0.5578 GB, free: 15.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001884/0.006927, allocations: 8 kB / 0.5578 GB, free: 15.22 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 (1): * Single equations (assignments): 1 * 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.0001971/0.007124, allocations: 115.1 kB / 0.5579 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 6.874e-05/0.007193, allocations: 11.94 kB / 0.5579 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.007195, allocations: 0 / 0.5579 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.007206, allocations: 4 kB / 0.5579 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001321/0.007338, allocations: 1.719 kB / 0.5579 GB, free: 15.08 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002175/0.007556, allocations: 77 kB / 0.558 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.3e-05/0.007609, allocations: 59.47 kB / 0.558 GB, free: 14.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.422e-05/0.007623, allocations: 4 kB / 0.558 GB, free: 14.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.664e-05/0.00764, allocations: 8.5 kB / 0.558 GB, free: 14.89 MB / 478.1 MB Notification: Performance of SimCode: time 4.11e-07/0.00764, allocations: 0 / 0.558 GB, free: 14.89 MB / 478.1 MB Notification: Performance of Templates: time 0.002847/0.01049, allocations: 474.4 kB / 0.5585 GB, free: 14.43 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.14241099357605] Failed to read output from testmodel.py, exit status != 0: 0.019313372671604156 0.034771629000000005 0.027524967 Calling exit ...