Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0007235/0.0007235, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.001838, 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.0007235/0.0007235, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.00174, 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.9553/0.9553, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08579/1.041, 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.001326/0.001326, allocations: 222.1 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00111/0.002435, 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.7217/0.7217, allocations: 138.7 MB / 384.3 MB, free: 356 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07702/0.7987, allocations: 42.39 MB / 426.7 MB, free: 5.84 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 428.1 MB, free: 4.426 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.734e-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.RegNonZeroPowerDerivative_2_Check): time 0.001444/0.001461, allocations: 0.6859 MB / 428.8 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.001912, allocations: 334.6 kB / 429.1 MB, free: 3.402 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.765e-05/0.00193, allocations: 0 / 429.1 MB, free: 3.402 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.977e-06/0.001934, allocations: 0 / 429.1 MB, free: 3.402 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.024e-05/0.001944, allocations: 3.938 kB / 429.1 MB, free: 3.398 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.002214, allocations: 99.56 kB / 429.2 MB, free: 3.301 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.002278, allocations: 23.97 kB / 429.3 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.00231, allocations: 0 / 429.3 MB, free: 3.277 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.605e-05/0.002376, allocations: 19.92 kB / 429.3 MB, free: 3.258 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.048e-05/0.002437, allocations: 11.97 kB / 429.3 MB, free: 3.246 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.002452, allocations: 4 kB / 429.3 MB, free: 3.242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.002834, allocations: 279.6 kB / 429.6 MB, free: 2.969 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.696e-05/0.002851, allocations: 11.94 kB / 429.6 MB, free: 2.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.002866, allocations: 4 kB / 429.6 MB, free: 2.953 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.003045, allocations: 103.7 kB / 429.7 MB, free: 2.852 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.003055, allocations: 7.938 kB / 429.7 MB, free: 2.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.003056, allocations: 4 kB / 429.7 MB, free: 2.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.003067, allocations: 0 / 429.7 MB, free: 2.84 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003808/0.003448, allocations: 272.4 kB / 430 MB, free: 2.547 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.003481, allocations: 11.98 kB / 430 MB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.837e-05/0.00358, allocations: 90.03 kB / 430.1 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.493e-05/0.003665, allocations: 105.8 kB / 430.2 MB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.268e-06/0.003674, allocations: 384 / 430.2 MB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.003694, allocations: 4.375 kB / 430.2 MB, free: 2.297 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.446e-05/0.003789, allocations: 97.64 kB / 430.3 MB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.0038, allocations: 12.17 kB / 430.3 MB, free: 2.172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.003809, allocations: 4.375 kB / 430.3 MB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.003814, allocations: 384 / 430.3 MB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.11e-05/0.003845, allocations: 23.86 kB / 430.3 MB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.981e-05/0.003945, allocations: 72.92 kB / 430.4 MB, free: 2.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.901e-05/0.004024, allocations: 46.62 kB / 430.4 MB, free: 2.004 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.187e-05/0.004046, allocations: 16.86 kB / 430.4 MB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003325/0.004378, allocations: 79.94 kB / 430.5 MB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.0044, allocations: 30.56 kB / 430.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.004402, allocations: 0 / 430.5 MB, free: 1.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001011/0.005413, allocations: 451.7 kB / 431 MB, free: 1.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.005438, allocations: 51.41 kB / 431 MB, free: 1.309 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.525e-05/0.005493, allocations: 106.6 kB / 431.1 MB, free: 1.191 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.005506, allocations: 25.7 kB / 431.2 MB, free: 1.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.337e-05/0.00553, allocations: 84.14 kB / 431.2 MB, free: 1.074 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.005567, allocations: 39.64 kB / 431.3 MB, free: 1.035 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.00561, allocations: 37.69 kB / 431.3 MB, free: 0.9922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.107e-05/0.005691, allocations: 314.8 kB / 431.6 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.005709, allocations: 15.98 kB / 431.6 MB, free: 0.6602 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.005725, allocations: 8 kB / 431.7 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.339e-05/0.005779, allocations: 44.95 kB / 431.7 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.00578, allocations: 4 kB / 431.7 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001027/0.005883, allocations: 61.69 kB / 431.8 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.005898, allocations: 11.98 kB / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.005903, allocations: 0 / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.005915, allocations: 0 / 431.8 MB, free: 0.5234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.005997, allocations: 20 kB / 431.8 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.006001, allocations: 7.938 kB / 431.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.751e-05/0.006019, allocations: 4 kB / 431.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.006026, allocations: 11.92 kB / 431.8 MB, free: 492 kB / 410.7 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 (13): * Single equations (assignments): 13 * 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 5.803e-05/0.006084, allocations: 109.8 kB / 431.9 MB, free: 372 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.505e-05/0.006109, allocations: 8 kB / 431.9 MB, free: 364 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001116/0.006221, allocations: 73.78 kB / 432 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.006224, allocations: 4 kB / 432 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.006227, allocations: 4 kB / 432 MB, free: 280 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.006232, allocations: 4.125 kB / 432 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.006453, allocations: 238.7 kB / 432.2 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.006454, allocations: 0 / 432.2 MB, free: 12 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1782/0.1846, allocations: 22.75 kB / 432.3 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1847, allocations: 9.766 kB / 432.3 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.1847, allocations: 0 / 432.3 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.1847, allocations: 4.469 kB / 432.3 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1847, allocations: 2.078 kB / 432.3 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1847, allocations: 0 / 432.3 MB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1849, allocations: 178.9 kB / 432.5 MB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.097e-05/0.1849, allocations: 4.281 kB / 432.5 MB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.998e-05/0.1849, allocations: 3.812 kB / 432.5 MB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.1849, allocations: 9.234 kB / 432.5 MB, free: 2.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.725e-06/0.185, allocations: 2.969 kB / 432.5 MB, free: 2.902 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.225e-05/0.185, allocations: 12 kB / 432.5 MB, free: 2.895 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.185, allocations: 0 / 432.5 MB, free: 2.895 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001766/0.1851, allocations: 43.03 kB / 432.5 MB, free: 2.895 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001974/0.1853, allocations: 130.4 kB / 432.7 MB, free: 2.828 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.422e-05/0.1854, allocations: 49.03 kB / 432.7 MB, free: 2.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/0.1854, allocations: 4.516 kB / 432.7 MB, free: 2.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.781e-05/0.1855, allocations: 39.36 kB / 432.8 MB, free: 2.812 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000123/0.1856, allocations: 20.94 kB / 432.8 MB, free: 2.812 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000237/0.1858, allocations: 160.8 kB / 432.9 MB, free: 2.699 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.399e-05/0.1859, allocations: 58.72 kB / 433 MB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.1859, allocations: 6.797 kB / 433 MB, free: 2.629 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.1859, allocations: 67.81 kB / 433.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1859, allocations: 0 / 433.1 MB, free: 2.586 MB / 410.7 MB Notification: Performance of Templates: time 0.002927/0.1889, allocations: 1.375 MB / 434.4 MB, free: 2.57 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3068609721958637]