Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.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.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") [/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.6437/0.6437, allocations: 117.9 MB / 133.9 MB, free: 4.516 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.001131/0.001131, allocations: 183.6 kB / 161.7 MB, free: 2.738 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.887/1.887, allocations: 205.4 MB / 394.8 MB, free: 20.88 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.0009027/0.000903, allocations: 102.2 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004036, allocations: 15.98 kB / 0.5423 GB, free: 6.844 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4192, allocations: 74.54 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.585, allocations: 105.5 MB / 0.7182 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.5854, allocations: 83.95 kB / 0.7182 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.02041/0.6058, allocations: 5.466 MB / 0.7236 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.976e-06/0.6058, allocations: 0 / 0.7236 GB, free: 6.898 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.344e-05/0.6059, allocations: 4 kB / 0.7236 GB, free: 6.895 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009801/0.6069, allocations: 496.3 kB / 0.7241 GB, free: 6.352 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/0.6069, allocations: 11.97 kB / 0.7241 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.6071, allocations: 16.75 kB / 0.7241 GB, free: 6.324 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/0.6076, allocations: 264.9 kB / 0.7243 GB, free: 6.023 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.6077, allocations: 8.312 kB / 0.7243 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.6077, allocations: 8.375 kB / 0.7244 GB, free: 6.008 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.608, allocations: 100.7 kB / 0.7245 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.608, allocations: 192 / 0.7245 GB, free: 5.895 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.608, allocations: 3.938 kB / 0.7245 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.6081, allocations: 0 / 0.7245 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.6082, allocations: 39.97 kB / 0.7245 GB, free: 5.852 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007911/0.609, allocations: 376.5 kB / 0.7249 GB, free: 5.434 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003134/0.6094, allocations: 94.66 kB / 0.7249 GB, free: 5.332 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.6095, allocations: 32.84 kB / 0.725 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.6095, allocations: 0 / 0.725 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002379/0.6098, allocations: 83.41 kB / 0.7251 GB, free: 5.203 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.365e-06/0.6098, allocations: 3.938 kB / 0.7251 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0005399/0.6103, allocations: 149.7 kB / 0.7252 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.6104, allocations: 102.8 kB / 0.7253 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004267/0.6109, allocations: 263 kB / 0.7256 GB, free: 4.652 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.6109, allocations: 25.7 kB / 0.7256 GB, free: 4.621 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.882e-05/0.611, allocations: 116.1 kB / 0.7257 GB, free: 4.504 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.611, allocations: 23.7 kB / 0.7257 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.533e-06/0.6111, allocations: 0 / 0.7257 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6112, allocations: 334.8 kB / 0.726 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.6114, allocations: 31.92 kB / 0.7261 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001536/0.6115, allocations: 76.2 kB / 0.7261 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.6118, allocations: 77.75 kB / 0.7262 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6118, allocations: 0 / 0.7262 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003197/0.6121, allocations: 117.4 kB / 0.7263 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.6121, allocations: 9.438 kB / 0.7263 GB, free: 3.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.6121, allocations: 4 kB / 0.7263 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.6122, allocations: 0 / 0.7263 GB, free: 3.809 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.6123, allocations: 11.98 kB / 0.7263 GB, free: 3.797 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6123, allocations: 4 kB / 0.7263 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.873e-05/0.6124, allocations: 4 kB / 0.7263 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.6125, allocations: 3.984 kB / 0.7264 GB, free: 3.785 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEvent,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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 0.0001963/0.6127, allocations: 149.7 kB / 0.7265 GB, free: 3.629 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.192e-05/0.6127, allocations: 19.81 kB / 0.7265 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000376/0.6131, allocations: 127 kB / 0.7266 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.6131, allocations: 0 / 0.7266 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.6131, allocations: 4 kB / 0.7266 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.6132, allocations: 0 / 0.7266 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000304/0.6135, allocations: 241.3 kB / 0.7269 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6135, allocations: 0 / 0.7269 GB, free: 3.195 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.6135, allocations: 11.98 kB / 0.7269 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.6136, allocations: 0 / 0.7269 GB, free: 3.184 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.6136, allocations: 8.172 kB / 0.7269 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.6136, allocations: 4 kB / 0.7269 GB, free: 3.172 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6136, allocations: 3.938 kB / 0.7269 GB, free: 3.168 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003714/0.614, allocations: 148.8 kB / 0.727 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.6141, allocations: 105 kB / 0.7271 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.6142, allocations: 11.92 kB / 0.7271 GB, free: 2.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.875e-05/0.6143, allocations: 4 kB / 0.7272 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.6144, allocations: 7.984 kB / 0.7272 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.6144, allocations: 8 kB / 0.7272 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002893/0.6147, allocations: 200.4 kB / 0.7274 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6147, allocations: 0 / 0.7274 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004483/0.6151, allocations: 51.92 kB / 0.7274 GB, free: 2.605 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: 6 ($whenCondition1,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.u,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001477/0.6166, allocations: 437.4 kB / 0.7278 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003299/0.617, allocations: 83.89 kB / 0.7279 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.617, allocations: 4.062 kB / 0.7279 GB, free: 2.246 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.6171, allocations: 35.98 kB / 0.7279 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.6176, allocations: 43.42 kB / 0.728 GB, free: 2.172 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.6185, allocations: 326 kB / 0.7283 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.6189, allocations: 0.7204 MB / 0.729 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001311/0.6191, allocations: 29.38 kB / 0.729 GB, free: 1.051 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.6e-05/0.6191, allocations: 23.42 kB / 0.7291 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of SimCode: time 3.01e-07/0.6191, allocations: 0 / 0.7291 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of Templates: time 0.008101/0.6272, allocations: 2.515 MB / 0.7315 GB, free: 14.52 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)