Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001038, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001304, allocations: 175.5 kB / 16.58 MB, free: 6.785 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.504/1.504, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7191/0.7191, allocations: 115.5 MB / 407.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003008/0.0003009, allocations: 12 kB / 495.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1382, allocations: 77.52 MB / 0.5593 GB, free: 9.395 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006818/0.1389, allocations: 343 kB / 0.5597 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000645/0.1396, allocations: 333.7 kB / 0.56 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.1396, allocations: 0 / 0.56 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.1397, allocations: 0 / 0.56 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.349e-05/0.1397, allocations: 0 / 0.56 GB, free: 8.73 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003558/0.1401, allocations: 79.84 kB / 0.5601 GB, free: 8.652 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.109e-05/0.1401, allocations: 19.92 kB / 0.5601 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.187e-05/0.1402, allocations: 7.984 kB / 0.5601 GB, free: 8.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.623e-05/0.1402, allocations: 15.92 kB / 0.5601 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.1403, allocations: 11.98 kB / 0.5601 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1403, allocations: 0 / 0.5601 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.1407, allocations: 267.7 kB / 0.5604 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.1407, allocations: 3.938 kB / 0.5604 GB, free: 8.332 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.363e-05/0.1407, allocations: 29.7 kB / 0.5604 GB, free: 8.297 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.1408, allocations: 71.88 kB / 0.5605 GB, free: 8.227 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1408, allocations: 0 / 0.5605 GB, free: 8.227 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1409, allocations: 3.984 kB / 0.5605 GB, free: 8.223 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1409, allocations: 0 / 0.5605 GB, free: 8.223 MB / 430.1 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.0003687/0.1412, allocations: 355.6 kB / 0.5608 GB, free: 7.828 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.1413, allocations: 8.031 kB / 0.5608 GB, free: 7.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.729e-05/0.1413, allocations: 7.906 kB / 0.5608 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1415, allocations: 163.1 kB / 0.561 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1415, allocations: 7.984 kB / 0.561 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.1415, allocations: 8 kB / 0.561 GB, free: 7.598 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1416, allocations: 53.61 kB / 0.561 GB, free: 7.539 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.1416, allocations: 3.953 kB / 0.561 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.1417, allocations: 0 / 0.561 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1417, allocations: 0 / 0.561 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.831e-05/0.1417, allocations: 19.98 kB / 0.5611 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.1419, allocations: 165.6 kB / 0.5612 GB, free: 7.305 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.862e-05/0.142, allocations: 66.55 kB / 0.5613 GB, free: 7.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.072e-05/0.142, allocations: 28.8 kB / 0.5613 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006493/0.1427, allocations: 465.5 kB / 0.5618 GB, free: 6.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1427, allocations: 38.56 kB / 0.5618 GB, free: 6.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1427, allocations: 0 / 0.5618 GB, free: 6.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001216/0.144, allocations: 0.58 MB / 0.5624 GB, free: 5.934 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.144, allocations: 59.41 kB / 0.5624 GB, free: 5.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.002e-05/0.1441, allocations: 101.8 kB / 0.5625 GB, free: 5.754 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1441, allocations: 25.7 kB / 0.5625 GB, free: 5.723 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.833e-05/0.1441, allocations: 80.14 kB / 0.5626 GB, free: 5.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.925e-05/0.1442, allocations: 43.44 kB / 0.5627 GB, free: 5.598 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.1442, allocations: 0 / 0.5627 GB, free: 5.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.1443, allocations: 318.8 kB / 0.563 GB, free: 5.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.1443, allocations: 19.98 kB / 0.563 GB, free: 5.258 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.461e-05/0.1444, allocations: 30.98 kB / 0.563 GB, free: 5.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.1444, allocations: 20 kB / 0.563 GB, free: 5.211 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1444, allocations: 0 / 0.563 GB, free: 5.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001506/0.1446, allocations: 101.5 kB / 0.5631 GB, free: 5.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1446, allocations: 9.828 kB / 0.5631 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1446, allocations: 0 / 0.5631 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.1446, allocations: 0 / 0.5631 GB, free: 5.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.1447, allocations: 24.17 kB / 0.5632 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1447, allocations: 0 / 0.5632 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.1448, allocations: 0 / 0.5632 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1448, allocations: 8 kB / 0.5632 GB, free: 5.066 MB / 430.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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.785e-05/0.1449, allocations: 117.8 kB / 0.5633 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.1449, allocations: 7.984 kB / 0.5633 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.1451, allocations: 121.4 kB / 0.5634 GB, free: 4.809 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1451, allocations: 4 kB / 0.5634 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.1451, allocations: 0 / 0.5634 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1451, allocations: 0 / 0.5634 GB, free: 4.805 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003584/0.1455, allocations: 358.5 kB / 0.5637 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1455, allocations: 0 / 0.5637 GB, free: 4.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.1456, allocations: 23.94 kB / 0.5638 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1456, allocations: 0 / 0.5638 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1456, allocations: 4.094 kB / 0.5638 GB, free: 4.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1456, allocations: 3.938 kB / 0.5638 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1456, allocations: 0 / 0.5638 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1459, allocations: 212.6 kB / 0.564 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.146, allocations: 93.03 kB / 0.5641 GB, free: 4.035 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.146, allocations: 12 kB / 0.5641 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.1461, allocations: 4 kB / 0.5641 GB, free: 4.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.1461, allocations: 8 kB / 0.5641 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.1461, allocations: 4 kB / 0.5641 GB, free: 4.008 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.211e-05/0.1461, allocations: 79.27 kB / 0.5642 GB, free: 3.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1461, allocations: 0 / 0.5642 GB, free: 3.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000268/0.1464, allocations: 40 kB / 0.5642 GB, free: 3.891 MB / 430.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002259/0.1467, allocations: 139.2 kB / 0.5643 GB, free: 3.746 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.1468, allocations: 67.91 kB / 0.5644 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1468, allocations: 0 / 0.5644 GB, free: 3.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.248e-05/0.1469, allocations: 35.92 kB / 0.5644 GB, free: 3.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.1471, allocations: 4 kB / 0.5644 GB, free: 3.641 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.1474, allocations: 195.5 kB / 0.5646 GB, free: 3.418 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1476, allocations: 0.6888 MB / 0.5653 GB, free: 2.703 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.917e-05/0.1477, allocations: 11.98 kB / 0.5653 GB, free: 2.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.1477, allocations: 11.44 kB / 0.5653 GB, free: 2.68 MB / 430.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1477, allocations: 0 / 0.5653 GB, free: 2.68 MB / 430.1 MB Notification: Performance of Templates: time 0.003618/0.1513, allocations: 1.347 MB / 0.5666 GB, free: 1.344 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)