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.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6935/0.6935, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009868/0.0009867, allocations: 179.7 kB / 169.7 MB, free: 1.75 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.712/1.712, allocations: 205.1 MB / 404.5 MB, free: 1.594 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.0009889/0.0009892, allocations: 86.22 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.353e-05/3.405e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1712, allocations: 76.76 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5971/0.7683, allocations: 106.5 MB / 0.7322 GB, free: 6.918 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/0.7687, allocations: 87.89 kB / 0.7323 GB, free: 6.871 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01561/0.7843, allocations: 5.401 MB / 0.7375 GB, free: 2.328 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.7843, allocations: 3.938 kB / 0.7375 GB, free: 2.324 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.7844, allocations: 0 / 0.7375 GB, free: 2.324 MB / 490.7 MB 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.0005485/0.7849, allocations: 461.3 kB / 0.738 GB, free: 1.832 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.785, allocations: 8.031 kB / 0.738 GB, free: 1.824 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.685e-05/0.785, allocations: 23.7 kB / 0.738 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.7854, allocations: 264.7 kB / 0.7383 GB, free: 1.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.7854, allocations: 0 / 0.7383 GB, free: 1.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.7855, allocations: 4 kB / 0.7383 GB, free: 1.516 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.7857, allocations: 93.92 kB / 0.7384 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.7857, allocations: 0 / 0.7384 GB, free: 1.422 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.7857, allocations: 11.19 kB / 0.7384 GB, free: 1.414 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.7857, allocations: 4 kB / 0.7384 GB, free: 1.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.05e-05/0.7858, allocations: 37.69 kB / 0.7384 GB, free: 1.383 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005232/0.7863, allocations: 367.3 kB / 0.7388 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.7865, allocations: 86.53 kB / 0.7388 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.7866, allocations: 35.72 kB / 0.7389 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.7866, allocations: 0 / 0.7389 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.7867, allocations: 93.41 kB / 0.739 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.7868, allocations: 0 / 0.739 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002402/0.787, allocations: 107.7 kB / 0.7391 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.7871, allocations: 102.8 kB / 0.7392 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002455/0.7873, allocations: 242.7 kB / 0.7394 GB, free: 412 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.7874, allocations: 29.7 kB / 0.7394 GB, free: 376 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.7874, allocations: 119.9 kB / 0.7395 GB, free: 276 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.7875, allocations: 23.3 kB / 0.7396 GB, free: 256 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.7875, allocations: 0 / 0.7396 GB, free: 256 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.7876, allocations: 329.6 kB / 0.7399 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.442e-05/0.7876, allocations: 19.19 kB / 0.7399 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.373e-05/0.7877, allocations: 82.2 kB / 0.74 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.7878, allocations: 30.42 kB / 0.74 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.7878, allocations: 0 / 0.74 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001831/0.788, allocations: 110.6 kB / 0.7401 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.788, allocations: 4 kB / 0.7401 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.788, allocations: 3.953 kB / 0.7401 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.7881, allocations: 4 kB / 0.7401 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.216e-05/0.7882, allocations: 11.98 kB / 0.7401 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.7882, allocations: 4.031 kB / 0.7401 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/0.7882, allocations: 11.91 kB / 0.7401 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.7883, allocations: 3.188 kB / 0.7401 GB, free: 15.68 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 () * 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 8.425e-05/0.7883, allocations: 118 kB / 0.7403 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.7884, allocations: 15.81 kB / 0.7403 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.7886, allocations: 131.1 kB / 0.7404 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/0.7886, allocations: 11.89 kB / 0.7404 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7886, allocations: 0 / 0.7404 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7887, allocations: 4 kB / 0.7404 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.7888, allocations: 226.8 kB / 0.7406 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7889, allocations: 0 / 0.7406 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.7889, allocations: 15.92 kB / 0.7406 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.7889, allocations: 0 / 0.7406 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.7889, allocations: 7.938 kB / 0.7407 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.7889, allocations: 0 / 0.7407 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.789, allocations: 3.953 kB / 0.7407 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.7891, allocations: 145.6 kB / 0.7408 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.957e-05/0.7892, allocations: 103.7 kB / 0.7409 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.7893, allocations: 4 kB / 0.7409 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.969e-05/0.7893, allocations: 3.984 kB / 0.7409 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.7894, allocations: 15.44 kB / 0.7409 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.7894, allocations: 7.938 kB / 0.7409 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001703/0.7896, allocations: 191 kB / 0.7411 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7896, allocations: 0 / 0.7411 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002382/0.7898, allocations: 54.73 kB / 0.7412 GB, free: 14.65 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) * 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.0008804/0.7907, allocations: 396.2 kB / 0.7415 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001871/0.7909, allocations: 81.95 kB / 0.7416 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.7909, allocations: 4 kB / 0.7416 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.828e-05/0.791, allocations: 34.36 kB / 0.7417 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.7912, allocations: 36.08 kB / 0.7417 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.7917, allocations: 230.8 kB / 0.7419 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.792, allocations: 0.7272 MB / 0.7426 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.776e-05/0.7921, allocations: 21.2 kB / 0.7426 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.006e-05/0.7921, allocations: 19.42 kB / 0.7427 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.7921, allocations: 0 / 0.7427 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of Templates: time 0.00542/0.7976, allocations: 2.507 MB / 0.7451 GB, free: 10.77 MB / 0.4948 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)