Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0007183/0.0007183, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00104/0.001759, allocations: 452 kB / 10.43 MB, free: 268 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.0007407/0.0007407, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001056/0.001796, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 1.045/1.045, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.098/1.143, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6242/0.6242, allocations: 120.1 MB / 364.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07026/0.6944, allocations: 38.16 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] 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.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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.488e-05, allocations: 6.25 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00135/0.001375, allocations: 0.6618 MB / 404.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003809/0.001756, allocations: 326.8 kB / 404.8 MB, free: 9.891 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.001773, allocations: 0 / 404.8 MB, free: 9.891 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.609e-06/0.001778, allocations: 0 / 404.8 MB, free: 9.891 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.001783, allocations: 0 / 404.8 MB, free: 9.891 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.002048, allocations: 91.58 kB / 404.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 4.918e-05/0.002097, allocations: 11.92 kB / 404.9 MB, free: 9.789 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.002136, allocations: 7.984 kB / 404.9 MB, free: 9.781 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.002184, allocations: 8 kB / 404.9 MB, free: 9.773 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.002241, allocations: 7.984 kB / 404.9 MB, free: 9.766 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.002254, allocations: 0 / 404.9 MB, free: 9.766 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00031/0.002564, allocations: 279.6 kB / 405.2 MB, free: 9.492 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.002577, allocations: 0 / 405.2 MB, free: 9.492 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.332e-05/0.002591, allocations: 7.938 kB / 405.2 MB, free: 9.484 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.002756, allocations: 87.83 kB / 405.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.896e-05/0.002834, allocations: 0 / 405.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.002836, allocations: 0 / 405.3 MB, free: 9.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.276e-05/0.002848, allocations: 0 / 405.3 MB, free: 9.398 MB / 394.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.0003196/0.003168, allocations: 256.4 kB / 405.5 MB, free: 9.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.0032, allocations: 12.03 kB / 405.5 MB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.003282, allocations: 82.03 kB / 405.6 MB, free: 9.012 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.318e-05/0.003365, allocations: 109.7 kB / 405.7 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.003376, allocations: 384 / 405.7 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.003394, allocations: 384 / 405.7 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.523e-05/0.003469, allocations: 59.95 kB / 405.8 MB, free: 8.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.003476, allocations: 4.172 kB / 405.8 MB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.383e-06/0.003484, allocations: 4.375 kB / 405.8 MB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.003489, allocations: 4.375 kB / 405.8 MB, free: 8.797 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.051e-05/0.003499, allocations: 7.938 kB / 405.8 MB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.16e-05/0.003581, allocations: 64.94 kB / 405.8 MB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.697e-05/0.003618, allocations: 22.55 kB / 405.9 MB, free: 8.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.537e-06/0.003627, allocations: 8.922 kB / 405.9 MB, free: 8.668 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.003921, allocations: 87.91 kB / 406 MB, free: 8.582 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.003941, allocations: 30.56 kB / 406 MB, free: 8.543 MB / 394.7 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.003942, allocations: 0 / 406 MB, free: 8.543 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003772/0.004319, allocations: 165.3 kB / 406.2 MB, free: 8.348 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.004341, allocations: 55.41 kB / 406.2 MB, free: 8.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.489e-05/0.004386, allocations: 94.94 kB / 406.3 MB, free: 8.176 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.004396, allocations: 33.83 kB / 406.3 MB, free: 8.137 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.004415, allocations: 84.12 kB / 406.4 MB, free: 8.051 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.004439, allocations: 11.89 kB / 406.4 MB, free: 8.039 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.004462, allocations: 17.7 kB / 406.4 MB, free: 8.016 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.00453, allocations: 314.8 kB / 406.8 MB, free: 7.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.683e-06/0.004537, allocations: 4 kB / 406.8 MB, free: 7.695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.652e-05/0.004554, allocations: 21.64 kB / 406.8 MB, free: 7.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.73e-05/0.004581, allocations: 21.7 kB / 406.8 MB, free: 7.641 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.004582, allocations: 0 / 406.8 MB, free: 7.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.177e-05/0.004643, allocations: 57.58 kB / 406.9 MB, free: 7.578 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.004656, allocations: 4 kB / 406.9 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.004661, allocations: 4 kB / 406.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.004674, allocations: 0 / 406.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.06e-05/0.004715, allocations: 4 kB / 406.9 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.004718, allocations: 4 kB / 406.9 MB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.061e-05/0.004729, allocations: 0 / 406.9 MB, free: 7.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.004735, allocations: 7.922 kB / 406.9 MB, free: 7.555 MB / 394.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.714e-05/0.004782, allocations: 109.8 kB / 407 MB, free: 7.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.004797, allocations: 4.062 kB / 407 MB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.00487, allocations: 49.31 kB / 407 MB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.004871, allocations: 0 / 407 MB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.004873, allocations: 4 kB / 407 MB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.004876, allocations: 0 / 407 MB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.333e-05/0.004929, allocations: 69.83 kB / 407.1 MB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.00493, allocations: 0 / 407.1 MB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.004959, allocations: 11.94 kB / 407.1 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-06/0.004964, allocations: 0 / 407.1 MB, free: 7.277 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.004965, allocations: 4 kB / 407.1 MB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-06/0.004969, allocations: 8 kB / 407.1 MB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.00497, allocations: 0 / 407.1 MB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.004971, allocations: 0 / 407.1 MB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.3e-05/0.005054, allocations: 77.16 kB / 407.2 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.754e-06/0.005062, allocations: 48 / 407.2 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.424e-05/0.005076, allocations: 7.984 kB / 407.2 MB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.029e-05/0.005087, allocations: 0 / 407.2 MB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.00509, allocations: 3.984 kB / 407.2 MB, free: 7.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.007e-05/0.0051, allocations: 12.86 kB / 407.2 MB, free: 7.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0051, allocations: 0 / 407.2 MB, free: 7.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001167/0.005217, allocations: 28.06 kB / 407.3 MB, free: 7.117 MB / 394.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.0001264/0.005344, allocations: 104.3 kB / 407.4 MB, free: 7.008 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 5.516e-05/0.005399, allocations: 20.83 kB / 407.4 MB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.005402, allocations: 0 / 407.4 MB, free: 6.984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.005416, allocations: 16.86 kB / 407.4 MB, free: 6.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.074e-05/0.005477, allocations: 11.92 kB / 407.4 MB, free: 6.953 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001761/0.005653, allocations: 116.5 kB / 407.5 MB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.504e-05/0.005678, allocations: 51.36 kB / 407.6 MB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.213e-05/0.0057, allocations: 8.188 kB / 407.6 MB, free: 6.734 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.947e-05/0.00574, allocations: 55.36 kB / 407.6 MB, free: 6.68 MB / 394.7 MB Notification: Performance of SimCode: time 3.81e-07/0.00574, allocations: 0 / 407.6 MB, free: 6.68 MB / 394.7 MB Notification: Performance of Templates: time 0.002253/0.007993, allocations: 0.8837 MB / 408.5 MB, free: 5.793 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2797936135903]