Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7113/0.7113, allocations: 117.9 MB / 133.9 MB, free: 9.211 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.001088/0.001088, allocations: 180.2 kB / 161.7 MB, free: 13.97 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.629/1.629, allocations: 205.4 MB / 394.8 MB, free: 10.08 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.0007849/0.0007848, allocations: 88.22 kB / 470.1 MB, free: 29.11 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.000443, allocations: 16 kB / 0.5423 GB, free: 9.746 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1832/0.1836, allocations: 74.54 MB / 0.6151 GB, free: 15.14 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5313/0.715, allocations: 101.5 MB / 0.7142 GB, free: 31.76 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.7153, allocations: 82.33 kB / 0.7143 GB, free: 31.72 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01157/0.7269, allocations: 4.337 MB / 0.7185 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.857e-06/0.727, allocations: 4 kB / 0.7185 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.727, allocations: 0 / 0.7185 GB, free: 29.2 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002973/0.7273, allocations: 343.5 kB / 0.7189 GB, free: 28.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.7273, allocations: 12.03 kB / 0.7189 GB, free: 28.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.559e-05/0.7274, allocations: 2.625 kB / 0.7189 GB, free: 28.81 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.533e-05/0.7275, allocations: 172.2 kB / 0.719 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.7275, allocations: 384 / 0.719 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.7275, allocations: 1.125 kB / 0.719 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.535e-05/0.7276, allocations: 31.06 kB / 0.7191 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.7276, allocations: 7.938 kB / 0.7191 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-06/0.7277, allocations: 0 / 0.7191 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.7277, allocations: 0 / 0.7191 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.138e-05/0.7277, allocations: 0.6094 kB / 0.7191 GB, free: 28.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.7278, allocations: 151.7 kB / 0.7192 GB, free: 28.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.452e-05/0.7279, allocations: 19.17 kB / 0.7192 GB, free: 28.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.905e-05/0.7279, allocations: 8.953 kB / 0.7193 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/0.7283, allocations: 425.3 kB / 0.7197 GB, free: 27.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.7283, allocations: 38.5 kB / 0.7197 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.7283, allocations: 0 / 0.7197 GB, free: 27.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001589/0.7285, allocations: 35 kB / 0.7197 GB, free: 27.76 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.7285, allocations: 52.48 kB / 0.7198 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.119e-05/0.7285, allocations: 93.98 kB / 0.7199 GB, free: 27.59 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.7286, allocations: 29.7 kB / 0.7199 GB, free: 27.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 1.303e-05/0.7286, allocations: 80.14 kB / 0.72 GB, free: 27.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.7286, allocations: 9.188 kB / 0.72 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.214e-06/0.7286, allocations: 0 / 0.72 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.829e-05/0.7287, allocations: 312.1 kB / 0.7203 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.526e-06/0.7287, allocations: 0.5625 kB / 0.7203 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.069e-06/0.7287, allocations: 0 / 0.7203 GB, free: 27.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.504e-05/0.7287, allocations: 13.53 kB / 0.7203 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7287, allocations: 0 / 0.7203 GB, free: 27.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.141e-05/0.7288, allocations: 37.36 kB / 0.7203 GB, free: 27.11 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.7288, allocations: 8 kB / 0.7203 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7289, allocations: 4.5 kB / 0.7203 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.7289, allocations: 0.6094 kB / 0.7203 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.523e-05/0.7289, allocations: 0.7031 kB / 0.7203 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.7289, allocations: 7.938 kB / 0.7203 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.022e-05/0.729, allocations: 0 / 0.7203 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.729, allocations: 0 / 0.7203 GB, free: 27.09 MB / 0.4948 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 (1): * Single equations (assignments): 1 * 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 4.716e-05/0.729, allocations: 111.4 kB / 0.7205 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.729, allocations: 0.6562 kB / 0.7205 GB, free: 26.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.7291, allocations: 45.5 kB / 0.7205 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.7291, allocations: 0.7031 kB / 0.7205 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7291, allocations: 0 / 0.7205 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.7292, allocations: 0 / 0.7205 GB, free: 26.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.901e-05/0.7292, allocations: 143.8 kB / 0.7206 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.7292, allocations: 32 / 0.7206 GB, free: 26.74 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.425e-05/0.7292, allocations: 8.797 kB / 0.7206 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.7293, allocations: 3.938 kB / 0.7206 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.7293, allocations: 3.938 kB / 0.7207 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.7293, allocations: 0.5469 kB / 0.7207 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.7293, allocations: 2.016 kB / 0.7207 GB, free: 26.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.651e-05/0.7294, allocations: 62.25 kB / 0.7207 GB, free: 26.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.7294, allocations: 81.8 kB / 0.7208 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.7294, allocations: 11.03 kB / 0.7208 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-06/0.7294, allocations: 0.6562 kB / 0.7208 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.7294, allocations: 0 / 0.7208 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.7294, allocations: 4.609 kB / 0.7208 GB, free: 26.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 1.518e-05/0.7295, allocations: 75.28 kB / 0.7209 GB, free: 26.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.7295, allocations: 0 / 0.7209 GB, free: 26.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002232/0.7297, allocations: 12.69 kB / 0.7209 GB, free: 26.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001664/0.7299, allocations: 120.9 kB / 0.721 GB, free: 26.33 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.857e-05/0.7299, allocations: 12.5 kB / 0.721 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7299, allocations: 0 / 0.721 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.184e-06/0.73, allocations: 0.7031 kB / 0.721 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.7301, allocations: 4 kB / 0.721 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002087/0.7304, allocations: 72.02 kB / 0.7211 GB, free: 26.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.7305, allocations: 0.67 MB / 0.7217 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.7305, allocations: 1.625 kB / 0.7217 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.7305, allocations: 15.56 kB / 0.7218 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of SimCode: time 2.1e-07/0.7306, allocations: 0 / 0.7218 GB, free: 25.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.002382/0.7329, allocations: 440 kB / 0.7222 GB, free: 25.26 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)