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.7445/0.7445, allocations: 127.4 MB / 134.9 MB, free: 3.5 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.001087, allocations: 186.3 kB / 164.6 MB, free: 11.59 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.487/1.487, allocations: 205.2 MB / 399.5 MB, free: 13.51 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.0008617/0.0008617, allocations: 92.39 kB / 476.7 MB, free: 1.512 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.571e-05/1.581e-05, allocations: 2.688 kB / 0.5466 GB, free: 95.39 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1226, allocations: 76.76 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.2428, allocations: 105.8 MB / 0.7249 GB, free: 1.117 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.243, allocations: 83.94 kB / 0.725 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01556/0.2586, allocations: 5.367 MB / 0.7302 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2587, allocations: 7.938 kB / 0.7302 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.839e-05/0.2587, allocations: 4 kB / 0.7302 GB, free: 11.65 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005818/0.2593, allocations: 467.8 kB / 0.7307 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2593, allocations: 8.031 kB / 0.7307 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.217e-05/0.2594, allocations: 19.77 kB / 0.7307 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.2598, allocations: 259.7 kB / 0.7309 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.2598, allocations: 4 kB / 0.7309 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2598, allocations: 4 kB / 0.731 GB, free: 10.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001255/0.26, allocations: 35.92 kB / 0.731 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2601, allocations: 80.25 kB / 0.7311 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.2601, allocations: 3.984 kB / 0.7311 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.2602, allocations: 8 kB / 0.7311 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.875e-05/0.2602, allocations: 3.953 kB / 0.7311 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005418/0.2607, allocations: 341.3 kB / 0.7314 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.2609, allocations: 82.67 kB / 0.7315 GB, free: 10.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.2609, allocations: 28.92 kB / 0.7315 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.261, allocations: 0 / 0.7315 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.2611, allocations: 87.31 kB / 0.7316 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2612, allocations: 4 kB / 0.7316 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.0002881/0.2615, allocations: 109.6 kB / 0.7317 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.079e-05/0.2615, allocations: 110.8 kB / 0.7318 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.2618, allocations: 233.8 kB / 0.732 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.2618, allocations: 25.7 kB / 0.7321 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.2619, allocations: 124.1 kB / 0.7322 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.2619, allocations: 7.812 kB / 0.7322 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-06/0.2619, allocations: 0 / 0.7322 GB, free: 9.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2621, allocations: 334.8 kB / 0.7325 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.2621, allocations: 24 kB / 0.7325 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.043e-05/0.2622, allocations: 64.28 kB / 0.7326 GB, free: 8.992 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.072e-05/0.2623, allocations: 39.91 kB / 0.7326 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2623, allocations: 0 / 0.7326 GB, free: 8.953 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001843/0.2625, allocations: 109.5 kB / 0.7327 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2625, allocations: 8.219 kB / 0.7327 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.2625, allocations: 0 / 0.7327 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2625, allocations: 7.938 kB / 0.7327 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.2626, allocations: 19.88 kB / 0.7328 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.2626, allocations: 0 / 0.7328 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.731e-05/0.2627, allocations: 11.84 kB / 0.7328 GB, free: 8.793 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.2627, allocations: 4 kB / 0.7328 GB, free: 8.789 MB / 0.5105 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.126e-05/0.2628, allocations: 105 kB / 0.7329 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.2629, allocations: 15.81 kB / 0.7329 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.2631, allocations: 131.4 kB / 0.733 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.2631, allocations: 0 / 0.733 GB, free: 8.535 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.2631, allocations: 3.953 kB / 0.733 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2631, allocations: 0 / 0.733 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.2633, allocations: 214.1 kB / 0.7332 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2633, allocations: 4 kB / 0.7332 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.461e-05/0.2634, allocations: 4 kB / 0.7332 GB, free: 8.277 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2634, allocations: 3.984 kB / 0.7332 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.2634, allocations: 4 kB / 0.7332 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2634, allocations: 0 / 0.7332 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2634, allocations: 4 kB / 0.7332 GB, free: 8.266 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.2636, allocations: 144.8 kB / 0.7334 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-05/0.2637, allocations: 96.92 kB / 0.7335 GB, free: 7.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.2638, allocations: 7.984 kB / 0.7335 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.89e-05/0.2638, allocations: 0 / 0.7335 GB, free: 7.984 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.2639, allocations: 11.98 kB / 0.7335 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.2639, allocations: 4 kB / 0.7335 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001578/0.2641, allocations: 188.4 kB / 0.7337 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2641, allocations: 0 / 0.7337 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002658/0.2644, allocations: 51.92 kB / 0.7337 GB, free: 7.734 MB / 0.5105 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.0007981/0.2652, allocations: 379.1 kB / 0.7341 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001696/0.2654, allocations: 71.97 kB / 0.7342 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2654, allocations: 3.938 kB / 0.7342 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.632e-05/0.2654, allocations: 39.94 kB / 0.7342 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002403/0.2657, allocations: 32.94 kB / 0.7342 GB, free: 7.297 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004101/0.2661, allocations: 217 kB / 0.7344 GB, free: 7.059 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.2664, allocations: 0.728 MB / 0.7351 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.682e-05/0.2665, allocations: 29.5 kB / 0.7352 GB, free: 6.277 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.007e-05/0.2666, allocations: 27.42 kB / 0.7352 GB, free: 6.25 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.2666, allocations: 3.938 kB / 0.7352 GB, free: 6.246 MB / 0.5105 GB Notification: Performance of Templates: time 0.005385/0.272, allocations: 2.362 MB / 0.7375 GB, free: 3.895 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)