Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6951/0.6951, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001011/0.001012, allocations: 176.8 kB / 169.7 MB, free: 1.742 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.899/1.899, allocations: 205.1 MB / 404.5 MB, free: 1.664 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.0008674/0.0008675, allocations: 86.36 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.482e-05, allocations: 8 kB / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1694, allocations: 76.76 MB / 0.6282 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4862/0.6557, allocations: 106.5 MB / 0.7322 GB, free: 6.883 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/0.656, allocations: 76.33 kB / 0.7322 GB, free: 6.844 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01471/0.6707, allocations: 5.424 MB / 0.7375 GB, free: 2.273 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6707, allocations: 0 / 0.7375 GB, free: 2.273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.6708, allocations: 0 / 0.7375 GB, free: 2.273 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000536/0.6713, allocations: 461.6 kB / 0.738 GB, free: 1.781 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.6714, allocations: 12.03 kB / 0.738 GB, free: 1.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.1e-05/0.6715, allocations: 19.77 kB / 0.738 GB, free: 1.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.6719, allocations: 252.2 kB / 0.7383 GB, free: 1.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.6719, allocations: 4 kB / 0.7383 GB, free: 1.477 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.6719, allocations: 4 kB / 0.7383 GB, free: 1.473 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.6721, allocations: 92.12 kB / 0.7383 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6721, allocations: 0 / 0.7383 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.6721, allocations: 0 / 0.7383 GB, free: 1.387 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.6722, allocations: 4 kB / 0.7384 GB, free: 1.383 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.052e-05/0.6722, allocations: 38.61 kB / 0.7384 GB, free: 1.355 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.6728, allocations: 372.8 kB / 0.7387 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.6729, allocations: 71.38 kB / 0.7388 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.673, allocations: 39.16 kB / 0.7389 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.673, allocations: 0 / 0.7389 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001268/0.6731, allocations: 78.2 kB / 0.7389 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of pre-optimization done (n=10): time 3.095e-06/0.6731, allocations: 112 / 0.7389 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002517/0.6734, allocations: 123.1 kB / 0.739 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.6735, allocations: 77.11 kB / 0.7391 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.6737, allocations: 238.4 kB / 0.7393 GB, free: 424 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.6738, allocations: 29.7 kB / 0.7394 GB, free: 388 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.6738, allocations: 111.9 kB / 0.7395 GB, free: 296 kB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.6739, allocations: 35.06 kB / 0.7395 GB, free: 264 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/0.6739, allocations: 0 / 0.7395 GB, free: 264 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.674, allocations: 325.8 kB / 0.7398 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.499e-05/0.6741, allocations: 30.67 kB / 0.7399 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.431e-05/0.6741, allocations: 57.11 kB / 0.7399 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.451e-05/0.6742, allocations: 34.52 kB / 0.7399 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6742, allocations: 7.969 kB / 0.7399 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001651/0.6744, allocations: 107 kB / 0.74 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.6744, allocations: 8 kB / 0.7401 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6744, allocations: 0 / 0.7401 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.6744, allocations: 7.938 kB / 0.7401 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.6745, allocations: 8 kB / 0.7401 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.6745, allocations: 0 / 0.7401 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.6746, allocations: 19.53 kB / 0.7401 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.6746, allocations: 160 / 0.7401 GB, free: 15.7 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: 10 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 7.801e-05/0.6747, allocations: 126.3 kB / 0.7402 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.6747, allocations: 19 kB / 0.7402 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.6749, allocations: 130 kB / 0.7404 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.675, allocations: 4 kB / 0.7404 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.675, allocations: 3.953 kB / 0.7404 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.675, allocations: 0 / 0.7404 GB, free: 15.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.6752, allocations: 234.3 kB / 0.7406 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6752, allocations: 0 / 0.7406 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.714e-05/0.6752, allocations: 4 kB / 0.7406 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.6752, allocations: 4 kB / 0.7406 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.6753, allocations: 4 kB / 0.7406 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.6753, allocations: 0 / 0.7406 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6753, allocations: 3.938 kB / 0.7406 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.6755, allocations: 147.2 kB / 0.7407 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.753e-05/0.6756, allocations: 95.92 kB / 0.7408 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.6756, allocations: 7.047 kB / 0.7408 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.577e-05/0.6757, allocations: 8 kB / 0.7408 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.835e-05/0.6757, allocations: 7.984 kB / 0.7409 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.6757, allocations: 7.25 kB / 0.7409 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001708/0.6759, allocations: 197 kB / 0.741 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6759, allocations: 0 / 0.741 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002324/0.6762, allocations: 42.88 kB / 0.7411 GB, free: 14.7 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: 8 ($whenCondition1,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.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.0008708/0.677, allocations: 388.3 kB / 0.7415 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.6772, allocations: 77.17 kB / 0.7415 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6772, allocations: 0 / 0.7415 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.7e-05/0.6773, allocations: 46.84 kB / 0.7416 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.6776, allocations: 27.55 kB / 0.7416 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000436/0.678, allocations: 228 kB / 0.7418 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.6784, allocations: 0.7279 MB / 0.7425 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.923e-05/0.6784, allocations: 29.48 kB / 0.7426 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.6785, allocations: 19 kB / 0.7426 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.8e-07/0.6785, allocations: 4 kB / 0.7426 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of Templates: time 0.005445/0.684, allocations: 2.295 MB / 0.7448 GB, free: 11.02 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)