Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.6544/0.6544, allocations: 117.9 MB / 133.9 MB, free: 4.52 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.0009886/0.0009886, allocations: 183.5 kB / 161.7 MB, free: 2.746 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 394.8 MB, free: 20.99 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.0008348/0.0008347, allocations: 95.25 kB / 470.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004457, allocations: 12 kB / 0.5423 GB, free: 6.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3521, allocations: 74.55 MB / 0.6151 GB, free: 54.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.486, allocations: 102.2 MB / 0.7149 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4863, allocations: 75.95 kB / 0.715 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01351/0.4998, allocations: 4.667 MB / 0.7195 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4998, allocations: 0 / 0.7195 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4999, allocations: 0 / 0.7195 GB, free: 11.09 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005064/0.5004, allocations: 371.4 kB / 0.7199 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.5004, allocations: 16.03 kB / 0.7199 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.546e-05/0.5005, allocations: 0.9375 kB / 0.7199 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.5006, allocations: 172.3 kB / 0.72 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.5007, allocations: 384 / 0.72 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.5007, allocations: 384 / 0.72 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.5008, allocations: 57.98 kB / 0.7201 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.5009, allocations: 4.125 kB / 0.7201 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.5009, allocations: 11.94 kB / 0.7201 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5009, allocations: 0 / 0.7201 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.5011, allocations: 39.97 kB / 0.7202 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.5015, allocations: 272.9 kB / 0.7204 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.5016, allocations: 50.48 kB / 0.7205 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.519e-05/0.5017, allocations: 28.91 kB / 0.7205 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006218/0.5024, allocations: 461.4 kB / 0.7209 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.5024, allocations: 38.5 kB / 0.721 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5024, allocations: 0 / 0.721 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003914/0.5028, allocations: 101.7 kB / 0.7211 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.5029, allocations: 51.41 kB / 0.7211 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.503, allocations: 101.9 kB / 0.7212 GB, free: 9.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.503, allocations: 29.69 kB / 0.7212 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.5031, allocations: 84.14 kB / 0.7213 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.5031, allocations: 11.84 kB / 0.7213 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-06/0.5031, allocations: 0 / 0.7213 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5032, allocations: 310.8 kB / 0.7216 GB, free: 8.625 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.96e-05/0.5033, allocations: 28.02 kB / 0.7217 GB, free: 8.598 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.309e-05/0.5034, allocations: 23.91 kB / 0.7217 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.5036, allocations: 56.83 kB / 0.7217 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.5036, allocations: 4 kB / 0.7217 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000238/0.5038, allocations: 85.5 kB / 0.7218 GB, free: 8.422 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.5038, allocations: 4 kB / 0.7218 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.5038, allocations: 0 / 0.7218 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5039, allocations: 0 / 0.7218 GB, free: 8.418 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.329e-05/0.504, allocations: 15.98 kB / 0.7218 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.504, allocations: 0 / 0.7218 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.504, allocations: 4 kB / 0.7218 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-06/0.504, allocations: 0 / 0.7218 GB, free: 8.398 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 (2): * Single equations (assignments): 2 * 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 9.126e-05/0.5041, allocations: 125.8 kB / 0.722 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.5042, allocations: 3.938 kB / 0.722 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.5044, allocations: 89.17 kB / 0.7221 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.5044, allocations: 0 / 0.7221 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5045, allocations: 4.031 kB / 0.7221 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5045, allocations: 0 / 0.7221 GB, free: 8.164 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.5046, allocations: 161.6 kB / 0.7222 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5047, allocations: 256 / 0.7222 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.5047, allocations: 16 kB / 0.7222 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.5047, allocations: 0 / 0.7222 GB, free: 7.941 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-06/0.5047, allocations: 3.984 kB / 0.7222 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.5047, allocations: 0 / 0.7222 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5048, allocations: 3.938 kB / 0.7222 GB, free: 7.934 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.505, allocations: 183.4 kB / 0.7224 GB, free: 7.738 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.154e-05/0.5051, allocations: 81.02 kB / 0.7225 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.5051, allocations: 0 / 0.7225 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.5052, allocations: 12.03 kB / 0.7225 GB, free: 7.629 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.5052, allocations: 3.984 kB / 0.7225 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.5052, allocations: 0 / 0.7225 GB, free: 7.625 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.5053, allocations: 83.28 kB / 0.7226 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5053, allocations: 0 / 0.7226 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002163/0.5055, allocations: 16 kB / 0.7226 GB, free: 7.527 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 (2): * Single equations (assignments): 2 * 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.0002247/0.5057, allocations: 126.9 kB / 0.7227 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.5059, allocations: 47.97 kB / 0.7228 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.506, allocations: 0 / 0.7228 GB, free: 7.344 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.5061, allocations: 35.97 kB / 0.7228 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.5064, allocations: 7.875 kB / 0.7228 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.5067, allocations: 108.7 kB / 0.7229 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002769/0.507, allocations: 0.677 MB / 0.7236 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.398e-05/0.507, allocations: 3.984 kB / 0.7236 GB, free: 6.461 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.507, allocations: 11.38 kB / 0.7236 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of SimCode: time 2.31e-07/0.507, allocations: 4.062 kB / 0.7236 GB, free: 6.445 MB / 0.4948 GB Notification: Performance of Templates: time 0.002526/0.5096, allocations: 0.6186 MB / 0.7242 GB, free: 5.828 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)