Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8309/0.8309, allocations: 128.8 MB / 143.7 MB, free: 2.301 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 183.3 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.823/1.823, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008946/0.0008946, allocations: 96.09 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 15.44 kB / 0.5604 GB, free: 97.42 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1732, allocations: 76.75 MB / 0.6353 GB, free: 30.55 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.3207, allocations: 102.9 MB / 0.7358 GB, free: 7.547 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/0.321, allocations: 79.95 kB / 0.7359 GB, free: 7.469 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01517/0.3362, allocations: 5.47 MB / 0.7412 GB, free: 1.988 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.058e-06/0.3362, allocations: 3.984 kB / 0.7412 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.131e-06/0.3362, allocations: 0 / 0.7412 GB, free: 1.984 MB / 0.5105 GB 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.00037/0.3366, allocations: 359.3 kB / 0.7415 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3367, allocations: 8.031 kB / 0.7415 GB, free: 1.578 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.3367, allocations: 7.859 kB / 0.7416 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3369, allocations: 186.9 kB / 0.7417 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3369, allocations: 0 / 0.7417 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.3369, allocations: 4 kB / 0.7417 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.337, allocations: 49.69 kB / 0.7418 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3371, allocations: 0 / 0.7418 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.3371, allocations: 0 / 0.7418 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3371, allocations: 0 / 0.7418 GB, free: 1.289 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.3371, allocations: 19.98 kB / 0.7418 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001811/0.3373, allocations: 169.6 kB / 0.742 GB, free: 1.055 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.3374, allocations: 62.5 kB / 0.742 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005845/0.338, allocations: 461.5 kB / 0.7425 GB, free: 452 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.3381, allocations: 30.56 kB / 0.7425 GB, free: 412 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 2.465e-06/0.3381, allocations: 3.984 kB / 0.7425 GB, free: 408 kB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.3853/0.7234, allocations: 0.5824 MB / 0.7431 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.7235, allocations: 53.22 kB / 0.7431 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.7236, allocations: 93.25 kB / 0.7432 GB, free: 109.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.7237, allocations: 27.7 kB / 0.7432 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.7237, allocations: 82.55 kB / 0.7433 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.042e-05/0.7238, allocations: 40.48 kB / 0.7434 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.7238, allocations: 3.75 kB / 0.7434 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.7239, allocations: 318.6 kB / 0.7437 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.724, allocations: 29.83 kB / 0.7437 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.404e-05/0.7241, allocations: 21.31 kB / 0.7437 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001034/0.7242, allocations: 24.28 kB / 0.7437 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7243, allocations: 0 / 0.7437 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002958/0.7246, allocations: 105.8 kB / 0.7438 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7246, allocations: 5.219 kB / 0.7438 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.7246, allocations: 0 / 0.7438 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.965e-05/0.7247, allocations: 1.125 kB / 0.7438 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001891/0.7249, allocations: 22 kB / 0.7439 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.7249, allocations: 0.875 kB / 0.7439 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.881e-05/0.725, allocations: 11.38 kB / 0.7439 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.725, allocations: 2.219 kB / 0.7439 GB, free: 109.3 MB / 0.5105 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 (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 8.921e-05/0.7251, allocations: 115.8 kB / 0.744 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.537e-05/0.7251, allocations: 5.562 kB / 0.744 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.7255, allocations: 106.9 kB / 0.7441 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.7255, allocations: 2.719 kB / 0.7441 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.7255, allocations: 0 / 0.7441 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.7255, allocations: 1.75 kB / 0.7441 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005585/0.7261, allocations: 359 kB / 0.7444 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.7261, allocations: 0 / 0.7444 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001707/0.7263, allocations: 25.59 kB / 0.7445 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.7263, allocations: 4.781 kB / 0.7445 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.7263, allocations: 4.5 kB / 0.7445 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.7263, allocations: 1.656 kB / 0.7445 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.7263, allocations: 3.953 kB / 0.7445 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.7267, allocations: 214.2 kB / 0.7447 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.7268, allocations: 92.53 kB / 0.7448 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.7268, allocations: 0 / 0.7448 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/0.7269, allocations: 1.594 kB / 0.7448 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.727, allocations: 15.88 kB / 0.7448 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.727, allocations: 3.844 kB / 0.7448 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.157e-05/0.727, allocations: 83.75 kB / 0.7449 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.727, allocations: 0 / 0.7449 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005152/0.7276, allocations: 61.58 kB / 0.7449 GB, free: 108.5 MB / 0.5105 GB 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.0004392/0.728, allocations: 159.9 kB / 0.7451 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000216/0.7283, allocations: 55.52 kB / 0.7451 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7283, allocations: 0 / 0.7451 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.065e-05/0.7284, allocations: 35.05 kB / 0.7452 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.7286, allocations: 10.19 kB / 0.7452 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004689/0.7291, allocations: 195 kB / 0.7454 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.7293, allocations: 0.6908 MB / 0.746 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.868e-05/0.7293, allocations: 11.92 kB / 0.746 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.7294, allocations: 10.94 kB / 0.7461 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of SimCode: time 3.11e-07/0.7294, allocations: 0 / 0.7461 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.005526/0.7349, allocations: 1.315 MB / 0.7473 GB, free: 107.5 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)