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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 112.3 kB / 17.33 MB, free: 5.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 198.6 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8431/0.8431, allocations: 128.4 MB / 426.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 67.14 kB / 0.5912 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1778, allocations: 83.27 MB / 0.6725 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegStep): time 0.001832/0.1796, allocations: 0.5728 MB / 0.6731 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002799/0.1799, allocations: 51.78 kB / 0.6731 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.1799, allocations: 0 / 0.6731 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.1799, allocations: 0 / 0.6731 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.241e-06/0.1799, allocations: 0 / 0.6731 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.1802, allocations: 19.92 kB / 0.6731 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.527e-05/0.1802, allocations: 4 kB / 0.6731 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.1803, allocations: 3.938 kB / 0.6732 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.404e-05/0.1803, allocations: 0 / 0.6732 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.427e-05/0.1803, allocations: 7.938 kB / 0.6732 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1803, allocations: 0 / 0.6732 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1804, allocations: 23.97 kB / 0.6732 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.157e-06/0.1804, allocations: 0 / 0.6732 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.1804, allocations: 3.984 kB / 0.6732 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.611e-05/0.1805, allocations: 15.98 kB / 0.6732 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1805, allocations: 0 / 0.6732 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1805, allocations: 0 / 0.6732 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.1805, allocations: 0 / 0.6732 GB, free: 3.262 MB / 0.4981 GB 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.0004079/0.181, allocations: 315.5 kB / 0.6735 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.181, allocations: 12.03 kB / 0.6735 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/0.1813, allocations: 20.91 kB / 0.6735 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.1814, allocations: 160.4 kB / 0.6737 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.1814, allocations: 4.375 kB / 0.6737 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.15e-05/0.1814, allocations: 384 / 0.6737 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1816, allocations: 40.77 kB / 0.6737 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1816, allocations: 192 / 0.6737 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.963e-05/0.1816, allocations: 7.938 kB / 0.6737 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1816, allocations: 0 / 0.6737 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.813e-05/0.1817, allocations: 11.98 kB / 0.6737 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.1819, allocations: 145.7 kB / 0.6739 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.182, allocations: 22.61 kB / 0.6739 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.182, allocations: 12.91 kB / 0.6739 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.182, allocations: 4 kB / 0.6739 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.1821, allocations: 38.48 kB / 0.674 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1821, allocations: 3.938 kB / 0.674 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002385/0.1823, allocations: 49.61 kB / 0.674 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.1823, allocations: 51.41 kB / 0.6741 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.603e-05/0.1824, allocations: 89.86 kB / 0.6741 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1824, allocations: 25.83 kB / 0.6742 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.1824, allocations: 84.14 kB / 0.6743 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.1825, allocations: 7.953 kB / 0.6743 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.1825, allocations: 14.06 kB / 0.6743 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.1826, allocations: 310.8 kB / 0.6746 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.1827, allocations: 7.984 kB / 0.6746 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-05/0.1827, allocations: 4 kB / 0.6746 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.337e-05/0.1828, allocations: 24.84 kB / 0.6746 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1828, allocations: 0 / 0.6746 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001171/0.1829, allocations: 49.67 kB / 0.6747 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1829, allocations: 4 kB / 0.6747 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.183, allocations: 3.938 kB / 0.6747 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.183, allocations: 3.938 kB / 0.6747 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.265e-05/0.183, allocations: 4 kB / 0.6747 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.183, allocations: 0 / 0.6747 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.353e-05/0.1831, allocations: 8.031 kB / 0.6747 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1831, allocations: 3.984 kB / 0.6747 GB, free: 1.523 MB / 0.4981 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 (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.622e-05/0.1832, allocations: 105.8 kB / 0.6748 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-06/0.1832, allocations: 0 / 0.6748 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.1832, allocations: 7.062 kB / 0.6748 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1832, allocations: 0 / 0.6748 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1832, allocations: 4 kB / 0.6748 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.1832, allocations: 0 / 0.6748 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.1833, allocations: 153.6 kB / 0.6749 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.82e-07/0.1834, allocations: 0 / 0.6749 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.243e-05/0.1834, allocations: 4 kB / 0.6749 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1834, allocations: 0 / 0.6749 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1834, allocations: 3.938 kB / 0.6749 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1834, allocations: 0 / 0.6749 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1834, allocations: 0 / 0.6749 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.1836, allocations: 73.11 kB / 0.675 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.314e-05/0.1836, allocations: 77.11 kB / 0.6751 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1836, allocations: 7.875 kB / 0.6751 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.1836, allocations: 0 / 0.6751 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.1837, allocations: 4 kB / 0.6751 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.1837, allocations: 3.984 kB / 0.6751 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.815e-05/0.1837, allocations: 79.28 kB / 0.6752 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.1837, allocations: 0 / 0.6752 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001715/0.1839, allocations: 4 kB / 0.6752 GB, free: 0.9141 MB / 0.4981 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 (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.0001345/0.184, allocations: 103.2 kB / 0.6753 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.1842, allocations: 11.98 kB / 0.6753 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1842, allocations: 0 / 0.6753 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.84e-05/0.1842, allocations: 4 kB / 0.6753 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000132/0.1843, allocations: 7.984 kB / 0.6753 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000258/0.1846, allocations: 93.09 kB / 0.6754 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.1849, allocations: 0.669 MB / 0.676 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.05e-05/0.185, allocations: 4 kB / 0.676 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.185, allocations: 11.44 kB / 0.6761 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.185, allocations: 0 / 0.6761 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Templates: time 0.002231/0.1872, allocations: 234 kB / 0.6763 GB, free: 15.73 MB / 0.5137 GB 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]