Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0006894/0.0006894, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009487/0.001638, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006911/0.0006911, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009469/0.001638, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9546/0.9546, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08796/1.043, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001395/0.001395, allocations: 242.2 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.0027, allocations: 471.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7075/0.7075, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06406/0.7716, allocations: 42.4 MB / 426.7 MB, free: 5.836 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.233e-06/1.233e-06, allocations: 0 / 428.1 MB, free: 4.426 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035e-05/1.158e-05, allocations: 6.312 kB / 428.1 MB, free: 4.418 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001024/0.001036, allocations: 0.6587 MB / 428.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003385/0.001374, allocations: 330.7 kB / 429.1 MB, free: 3.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.353e-05/0.001388, allocations: 0 / 429.1 MB, free: 3.434 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.477e-06/0.001391, allocations: 0 / 429.1 MB, free: 3.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 4.869e-06/0.001396, allocations: 0 / 429.1 MB, free: 3.434 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.001615, allocations: 95.56 kB / 429.2 MB, free: 3.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.081e-05/0.001656, allocations: 11.94 kB / 429.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.383e-05/0.001689, allocations: 0 / 429.2 MB, free: 3.328 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.002e-05/0.001729, allocations: 7.984 kB / 429.2 MB, free: 3.32 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.001779, allocations: 4 kB / 429.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.001791, allocations: 0 / 429.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002934/0.002085, allocations: 287.6 kB / 429.5 MB, free: 3.035 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.27e-05/0.002097, allocations: 7.938 kB / 429.5 MB, free: 3.027 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.06e-05/0.002108, allocations: 4 kB / 429.5 MB, free: 3.023 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001409/0.002249, allocations: 87.83 kB / 429.6 MB, free: 2.938 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.012e-05/0.002259, allocations: 0 / 429.6 MB, free: 2.938 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.00226, allocations: 0 / 429.6 MB, free: 2.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.002269, allocations: 7.938 kB / 429.6 MB, free: 2.93 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002537/0.002523, allocations: 252.4 kB / 429.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.00255, allocations: 12.03 kB / 429.9 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.002619, allocations: 78.05 kB / 429.9 MB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.721e-05/0.002696, allocations: 113.7 kB / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.002704, allocations: 384 / 430.1 MB, free: 2.414 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.464e-05/0.002719, allocations: 4.312 kB / 430.1 MB, free: 2.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.213e-05/0.002791, allocations: 59.95 kB / 430.1 MB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.002796, allocations: 192 / 430.1 MB, free: 2.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-06/0.002803, allocations: 4.375 kB / 430.1 MB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.002808, allocations: 8.375 kB / 430.1 MB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.044e-05/0.002819, allocations: 3.938 kB / 430.1 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.241e-05/0.002891, allocations: 61.05 kB / 430.2 MB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/0.002925, allocations: 26.53 kB / 430.2 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.028e-05/0.002935, allocations: 8.922 kB / 430.2 MB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002717/0.003207, allocations: 79.92 kB / 430.3 MB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.003226, allocations: 34.56 kB / 430.3 MB, free: 2.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.003226, allocations: 0 / 430.3 MB, free: 2.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003414/0.003568, allocations: 169.3 kB / 430.5 MB, free: 1.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.003588, allocations: 55.41 kB / 430.6 MB, free: 1.816 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.528e-05/0.003634, allocations: 98.94 kB / 430.7 MB, free: 1.707 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.003642, allocations: 25.7 kB / 430.7 MB, free: 1.676 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.839e-05/0.00366, allocations: 88.12 kB / 430.8 MB, free: 1.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.003681, allocations: 19.78 kB / 430.8 MB, free: 1.566 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.003703, allocations: 17.7 kB / 430.8 MB, free: 1.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.003766, allocations: 314.8 kB / 431.1 MB, free: 1.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-06/0.003772, allocations: 4 kB / 431.1 MB, free: 1.223 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.003788, allocations: 17.7 kB / 431.1 MB, free: 1.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.411e-05/0.003812, allocations: 17.72 kB / 431.2 MB, free: 1.176 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.003813, allocations: 4.125 kB / 431.2 MB, free: 1.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.691e-05/0.00387, allocations: 49.62 kB / 431.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.00388, allocations: 4 kB / 431.2 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.003883, allocations: 0 / 431.2 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.003894, allocations: 4 kB / 431.2 MB, free: 1.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/0.003929, allocations: 7.984 kB / 431.2 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.003934, allocations: 4 kB / 431.2 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.879e-06/0.003944, allocations: 0 / 431.2 MB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.003949, allocations: 3.938 kB / 431.2 MB, free: 1.094 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.596e-05/0.003995, allocations: 117.8 kB / 431.3 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.004007, allocations: 4 kB / 431.3 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-05/0.004074, allocations: 53.3 kB / 431.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.004075, allocations: 0 / 431.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.004076, allocations: 0 / 431.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.004079, allocations: 4 kB / 431.4 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.658e-05/0.004125, allocations: 65.84 kB / 431.5 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.004126, allocations: 0 / 431.5 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.004153, allocations: 4 kB / 431.5 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.004159, allocations: 3.984 kB / 431.5 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.004161, allocations: 8 kB / 431.5 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-06/0.004164, allocations: 0 / 431.5 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.004165, allocations: 0 / 431.5 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.004166, allocations: 0 / 431.5 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.555e-05/0.004241, allocations: 73 kB / 431.6 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.424e-06/0.004249, allocations: 0 / 431.6 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.365e-05/0.004263, allocations: 4 kB / 431.6 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.014e-05/0.004273, allocations: 3.984 kB / 431.6 MB, free: 0.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.004276, allocations: 0 / 431.6 MB, free: 0.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.001e-05/0.004286, allocations: 8.859 kB / 431.6 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004286, allocations: 4.125 kB / 431.6 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001112/0.004397, allocations: 23.94 kB / 431.6 MB, free: 0.668 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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.0001272/0.004524, allocations: 120.3 kB / 431.7 MB, free: 0.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.945e-05/0.004574, allocations: 12.86 kB / 431.7 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.004578, allocations: 7.938 kB / 431.7 MB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.666e-05/0.004594, allocations: 25 kB / 431.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.656e-05/0.004651, allocations: 7.938 kB / 431.8 MB, free: 496 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001476/0.004798, allocations: 111.2 kB / 431.9 MB, free: 360 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.323e-05/0.004822, allocations: 59.53 kB / 431.9 MB, free: 280 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.971e-05/0.004841, allocations: 4 kB / 431.9 MB, free: 276 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.004876, allocations: 51.38 kB / 432 MB, free: 224 kB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.004877, allocations: 0 / 432 MB, free: 224 kB / 410.7 MB Notification: Performance of Templates: time 0.1591/0.1639, allocations: 0.8818 MB / 432.9 MB, free: 2.973 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.229795727878809]