Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.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.001291/0.001291, allocations: 82.64 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.001374/0.001374, allocations: 165 kB / 23.22 MB, free: 4.902 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.407/1.407, allocations: 177.1 MB / 203.5 MB, free: 9.16 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.9024/0.9024, 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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.5547 GB, free: 2.488 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.497e-05/3.666e-05, allocations: 4.219 kB / 0.5547 GB, free: 2.484 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001604/0.001641, allocations: 0.5819 MB / 0.5553 GB, free: 1.91 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.000253/0.001894, allocations: 56.14 kB / 0.5554 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.789e-05/0.001912, allocations: 0 / 0.5554 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.001926, allocations: 0 / 0.5554 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.603e-06/0.001933, allocations: 0 / 0.5554 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.002173, allocations: 15.98 kB / 0.5554 GB, free: 1.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 4.476e-05/0.002218, allocations: 7.875 kB / 0.5554 GB, free: 1.832 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.002262, allocations: 4 kB / 0.5554 GB, free: 1.828 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.66e-05/0.002289, allocations: 4 kB / 0.5554 GB, free: 1.824 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.757e-05/0.002316, allocations: 3.984 kB / 0.5554 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.002328, allocations: 0 / 0.5554 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.002428, allocations: 15.98 kB / 0.5554 GB, free: 1.805 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.002442, allocations: 4 kB / 0.5554 GB, free: 1.801 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 1.368e-05/0.002456, allocations: 0 / 0.5554 GB, free: 1.801 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 9.267e-05/0.002549, allocations: 19.97 kB / 0.5554 GB, free: 1.781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.002551, allocations: 0 / 0.5554 GB, free: 1.781 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.91e-07/0.002551, allocations: 4 kB / 0.5554 GB, free: 1.777 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.397e-06/0.002555, allocations: 0 / 0.5554 GB, free: 1.777 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.0003853/0.00294, allocations: 242.4 kB / 0.5557 GB, free: 1.508 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.002977, allocations: 8.625 kB / 0.5557 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002328/0.00321, allocations: 16.91 kB / 0.5557 GB, free: 1.484 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.722e-05/0.003297, allocations: 105.8 kB / 0.5558 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.003307, allocations: 384 / 0.5558 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.003319, allocations: 384 / 0.5558 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.003455, allocations: 38.25 kB / 0.5558 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.003467, allocations: 192 / 0.5558 GB, free: 1.312 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.003476, allocations: 4.375 kB / 0.5558 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.00348, allocations: 384 / 0.5558 GB, free: 1.309 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.003582, allocations: 19.86 kB / 0.5558 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001211/0.003703, allocations: 93.33 kB / 0.5559 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.003791, allocations: 22.59 kB / 0.556 GB, free: 1.137 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.075e-05/0.003842, allocations: 8.922 kB / 0.556 GB, free: 1.125 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.003861, allocations: 7.922 kB / 0.556 GB, free: 1.117 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.003896, allocations: 38.56 kB / 0.556 GB, free: 1.07 MB / 462.1 MB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.003897, allocations: 4 kB / 0.556 GB, free: 1.066 MB / 462.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002384/0.004135, allocations: 45.56 kB / 0.5561 GB, free: 1.016 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.004176, allocations: 55.41 kB / 0.5561 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.591e-05/0.004222, allocations: 93.84 kB / 0.5562 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.004246, allocations: 25.7 kB / 0.5562 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.487e-05/0.004281, allocations: 80.14 kB / 0.5563 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.004305, allocations: 0 / 0.5563 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.004335, allocations: 13.72 kB / 0.5563 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.004479, allocations: 318.9 kB / 0.5566 GB, free: 404 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.786e-05/0.004527, allocations: 11.98 kB / 0.5566 GB, free: 392 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.603e-05/0.004563, allocations: 0 / 0.5566 GB, free: 392 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.536e-05/0.004658, allocations: 16.84 kB / 0.5566 GB, free: 372 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.00466, allocations: 0 / 0.5566 GB, free: 372 kB / 462.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001329/0.004793, allocations: 45.62 kB / 0.5567 GB, free: 320 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.004803, allocations: 4 kB / 0.5567 GB, free: 316 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.004807, allocations: 4.094 kB / 0.5567 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.004818, allocations: 0 / 0.5567 GB, free: 312 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.00489, allocations: 7.984 kB / 0.5567 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.004893, allocations: 0 / 0.5567 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.819e-05/0.004932, allocations: 7.938 kB / 0.5567 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.004937, allocations: 0 / 0.5567 GB, free: 296 kB / 462.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 7.887e-05/0.005016, allocations: 117.8 kB / 0.5568 GB, free: 168 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.485e-06/0.005023, allocations: 0 / 0.5568 GB, free: 168 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.005055, allocations: 10.97 kB / 0.5568 GB, free: 156 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.005056, allocations: 4 kB / 0.5568 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.005059, allocations: 0 / 0.5568 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-06/0.005061, allocations: 0 / 0.5568 GB, free: 152 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.974e-05/0.005141, allocations: 101.3 kB / 0.5569 GB, free: 20 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.005141, allocations: 0 / 0.5569 GB, free: 20 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.005183, allocations: 4 kB / 0.5569 GB, free: 16 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.005187, allocations: 3.984 kB / 0.5569 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.005194, allocations: 0 / 0.5569 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005195, allocations: 0 / 0.5569 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.005195, allocations: 0 / 0.5569 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.005364, allocations: 77 kB / 0.557 GB, free: 15.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.73e-06/0.005369, allocations: 4 kB / 0.557 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.578e-06/0.005379, allocations: 0 / 0.557 GB, free: 15.91 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.444e-05/0.005413, allocations: 11.92 kB / 0.557 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-06/0.005422, allocations: 0 / 0.557 GB, free: 15.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.005425, allocations: 0 / 0.557 GB, free: 15.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.088e-05/0.005466, allocations: 79.22 kB / 0.5571 GB, free: 15.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.005466, allocations: 0 / 0.5571 GB, free: 15.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0001698/0.005636, allocations: 4 kB / 0.5571 GB, free: 15.82 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 9.767e-05/0.005734, allocations: 99.22 kB / 0.5572 GB, free: 15.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001303/0.005864, allocations: 15.92 kB / 0.5572 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.005866, allocations: 0 / 0.5572 GB, free: 15.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 4.535e-05/0.005911, allocations: 7.984 kB / 0.5572 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.006032, allocations: 3.062 kB / 0.5572 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.006288, allocations: 88.98 kB / 0.5573 GB, free: 15.58 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.466e-05/0.006333, allocations: 51.48 kB / 0.5574 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.731e-05/0.00636, allocations: 8 kB / 0.5574 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.006383, allocations: 8.5 kB / 0.5574 GB, free: 15.49 MB / 478.1 MB Notification: Performance of SimCode: time 3.2e-07/0.006383, allocations: 0 / 0.5574 GB, free: 15.49 MB / 478.1 MB Notification: Performance of Templates: time 0.00223/0.008614, allocations: 246.3 kB / 0.5576 GB, free: 15.26 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.094727825373411] Failed to read output from testmodel.py, exit status != 0: 0.016586560755968094 0.030738535 0.025290817 Calling exit ...