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.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.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") [/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.7086/0.7086, allocations: 117.9 MB / 133.9 MB, free: 4.578 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.001607/0.001607, allocations: 174.6 kB / 161.7 MB, free: 2.793 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.862/1.862, allocations: 205.3 MB / 394.8 MB, free: 20.96 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.0008062/0.0008062, allocations: 96.03 kB / 470.1 MB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 12 kB / 0.5423 GB, free: 6.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3849, allocations: 74.53 MB / 0.6151 GB, free: 54.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1415/0.5264, allocations: 105.5 MB / 0.7182 GB, free: 12.5 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/0.5268, allocations: 83.95 kB / 0.7182 GB, free: 12.42 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.015/0.5418, allocations: 5.472 MB / 0.7236 GB, free: 6.953 MB / 0.4949 GB Notification: Performance of FrontEnd: time 4.558e-06/0.5418, allocations: 3.984 kB / 0.7236 GB, free: 6.949 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 1.538e-05/0.5418, allocations: 4 kB / 0.7236 GB, free: 6.945 MB / 0.4949 GB 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.000643/0.5425, allocations: 0.4886 MB / 0.7241 GB, free: 6.398 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5426, allocations: 11.97 kB / 0.7241 GB, free: 6.387 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/0.5426, allocations: 16.75 kB / 0.7241 GB, free: 6.371 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.543, allocations: 256.9 kB / 0.7243 GB, free: 6.078 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.5431, allocations: 4.375 kB / 0.7243 GB, free: 6.074 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.5431, allocations: 8.359 kB / 0.7244 GB, free: 6.066 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.5433, allocations: 95.88 kB / 0.7244 GB, free: 5.961 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5434, allocations: 192 / 0.7244 GB, free: 5.961 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.5434, allocations: 3.938 kB / 0.7244 GB, free: 5.957 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.157e-05/0.5434, allocations: 4 kB / 0.7245 GB, free: 5.953 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.5435, allocations: 35.98 kB / 0.7245 GB, free: 5.918 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.5442, allocations: 364.6 kB / 0.7248 GB, free: 5.512 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.5444, allocations: 78.67 kB / 0.7249 GB, free: 5.426 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.5445, allocations: 36.84 kB / 0.7249 GB, free: 5.387 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5446, allocations: 112 / 0.7249 GB, free: 5.387 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001762/0.5447, allocations: 87.25 kB / 0.725 GB, free: 5.289 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.5448, allocations: 0 / 0.725 GB, free: 5.289 MB / 0.4949 GB Notification: Performance of matching and sorting (n=10): time 0.0003927/0.5452, allocations: 153.4 kB / 0.7252 GB, free: 5.133 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.5452, allocations: 81.11 kB / 0.7252 GB, free: 5.035 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.5456, allocations: 259 kB / 0.7255 GB, free: 4.77 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.5457, allocations: 33.7 kB / 0.7255 GB, free: 4.73 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.5457, allocations: 112 kB / 0.7256 GB, free: 4.617 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.5458, allocations: 27.7 kB / 0.7257 GB, free: 4.59 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-06/0.5458, allocations: 4 kB / 0.7257 GB, free: 4.586 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.546, allocations: 326.8 kB / 0.726 GB, free: 4.258 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.471e-05/0.5461, allocations: 35.98 kB / 0.726 GB, free: 4.223 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.5462, allocations: 55.69 kB / 0.7261 GB, free: 4.156 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.5463, allocations: 81.67 kB / 0.7261 GB, free: 4.07 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.5464, allocations: 0 / 0.7261 GB, free: 4.07 MB / 0.4949 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002409/0.5466, allocations: 117.4 kB / 0.7263 GB, free: 3.949 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5466, allocations: 6.031 kB / 0.7263 GB, free: 3.945 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.5466, allocations: 4.219 kB / 0.7263 GB, free: 3.941 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.5467, allocations: 0 / 0.7263 GB, free: 3.941 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/0.5467, allocations: 15.98 kB / 0.7263 GB, free: 3.926 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.5468, allocations: 3.984 kB / 0.7263 GB, free: 3.922 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.393e-05/0.5468, allocations: 11.92 kB / 0.7263 GB, free: 3.91 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.5469, allocations: 4 kB / 0.7263 GB, free: 3.906 MB / 0.4949 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 () * 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.0001454/0.547, allocations: 145.7 kB / 0.7264 GB, free: 3.754 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.547, allocations: 15.81 kB / 0.7265 GB, free: 3.738 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.5473, allocations: 139 kB / 0.7266 GB, free: 3.598 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.5473, allocations: 0 / 0.7266 GB, free: 3.598 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.5473, allocations: 0 / 0.7266 GB, free: 3.598 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5473, allocations: 0 / 0.7266 GB, free: 3.598 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002189/0.5476, allocations: 233.5 kB / 0.7268 GB, free: 3.32 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.5476, allocations: 4 kB / 0.7268 GB, free: 3.316 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.5476, allocations: 8 kB / 0.7268 GB, free: 3.309 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.5476, allocations: 0 / 0.7268 GB, free: 3.309 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.5476, allocations: 4 kB / 0.7268 GB, free: 3.305 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5476, allocations: 4 kB / 0.7268 GB, free: 3.301 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5477, allocations: 0 / 0.7268 GB, free: 3.301 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.5479, allocations: 160.8 kB / 0.727 GB, free: 3.125 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.548, allocations: 100.9 kB / 0.7271 GB, free: 3.008 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.147e-05/0.548, allocations: 0 / 0.7271 GB, free: 3.008 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.443e-05/0.5481, allocations: 7.938 kB / 0.7271 GB, free: 3 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.5481, allocations: 7.984 kB / 0.7271 GB, free: 2.992 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.5482, allocations: 4 kB / 0.7271 GB, free: 2.988 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0001977/0.5484, allocations: 204.4 kB / 0.7273 GB, free: 2.789 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5484, allocations: 3.938 kB / 0.7273 GB, free: 2.785 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.0002558/0.5486, allocations: 43.84 kB / 0.7273 GB, free: 2.742 MB / 0.4949 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) * 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.001009/0.5496, allocations: 427.3 kB / 0.7277 GB, free: 2.473 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.5499, allocations: 83.84 kB / 0.7278 GB, free: 2.391 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.5499, allocations: 4.062 kB / 0.7278 GB, free: 2.387 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.55, allocations: 43.92 kB / 0.7279 GB, free: 2.344 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.5503, allocations: 44.92 kB / 0.7279 GB, free: 2.305 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.5509, allocations: 334.1 kB / 0.7282 GB, free: 1.949 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.5512, allocations: 0.7243 MB / 0.7289 GB, free: 1.199 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 7.723e-05/0.5513, allocations: 29.38 kB / 0.729 GB, free: 1.172 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.5513, allocations: 15.44 kB / 0.729 GB, free: 1.156 MB / 0.4949 GB Notification: Performance of SimCode: time 3.41e-07/0.5513, allocations: 4 kB / 0.729 GB, free: 1.152 MB / 0.4949 GB Notification: Performance of Templates: time 0.005371/0.5567, allocations: 2.29 MB / 0.7312 GB, free: 14.88 MB / 0.5105 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)