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.8075/0.8075, allocations: 128.7 MB / 143.7 MB, free: 2.324 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.001542/0.001542, allocations: 180 kB / 173.8 MB, free: 6.125 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.87/1.87, allocations: 205.4 MB / 409 MB, free: 10.5 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.001224/0.001224, allocations: 97.28 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005953/0.0005951, allocations: 9.75 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1784, allocations: 76.78 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.175/0.3534, allocations: 106.6 MB / 0.7394 GB, free: 3.82 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003556/0.3538, allocations: 79.95 kB / 0.7395 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.451/0.8048, allocations: 5.438 MB / 0.7448 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8049, allocations: 0 / 0.7448 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.831e-05/0.8049, allocations: 7.312 kB / 0.7448 GB, free: 108.7 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005904/0.8055, allocations: 492 kB / 0.7453 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.8056, allocations: 10.41 kB / 0.7453 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.8056, allocations: 19.23 kB / 0.7453 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003198/0.8059, allocations: 254.4 kB / 0.7456 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.806, allocations: 5.281 kB / 0.7456 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.806, allocations: 1.75 kB / 0.7456 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.8062, allocations: 96.53 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.8063, allocations: 0.5 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.8063, allocations: 6.719 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/0.8063, allocations: 3.469 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.8064, allocations: 31.86 kB / 0.7457 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007212/0.8072, allocations: 370.8 kB / 0.7461 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.8074, allocations: 78.75 kB / 0.7461 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.8075, allocations: 5.5 kB / 0.7461 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.8077, allocations: 87.16 kB / 0.7462 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.8077, allocations: 4.344 kB / 0.7462 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10): time 0.0005515/0.8083, allocations: 228.7 kB / 0.7464 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.8084, allocations: 79.41 kB / 0.7465 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/0.8088, allocations: 239 kB / 0.7467 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.8088, allocations: 34.64 kB / 0.7468 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.819e-05/0.8089, allocations: 114.5 kB / 0.7469 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.8089, allocations: 23.84 kB / 0.7469 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.8089, allocations: 3.75 kB / 0.7469 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.177e-05/0.809, allocations: 327.3 kB / 0.7472 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.8091, allocations: 25.38 kB / 0.7472 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.8093, allocations: 60.02 kB / 0.7473 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.775e-05/0.8094, allocations: 38.52 kB / 0.7473 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.8094, allocations: 0 / 0.7473 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002459/0.8097, allocations: 120.9 kB / 0.7475 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.8097, allocations: 7.484 kB / 0.7475 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.8097, allocations: 0 / 0.7475 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.8097, allocations: 0 / 0.7475 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.8099, allocations: 21.23 kB / 0.7475 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.8099, allocations: 1.234 kB / 0.7475 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.222e-05/0.81, allocations: 13.34 kB / 0.7475 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.81, allocations: 2.375 kB / 0.7475 GB, free: 106.8 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: 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.0001845/0.8102, allocations: 143.5 kB / 0.7476 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.8102, allocations: 15.69 kB / 0.7476 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003281/0.8105, allocations: 139.5 kB / 0.7478 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.8106, allocations: 4.688 kB / 0.7478 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/0.8106, allocations: 4.891 kB / 0.7478 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.8106, allocations: 4.656 kB / 0.7478 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.8109, allocations: 231.5 kB / 0.748 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.8109, allocations: 0 / 0.748 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.811, allocations: 6.219 kB / 0.748 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.811, allocations: 1.031 kB / 0.748 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.811, allocations: 1.844 kB / 0.748 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.811, allocations: 0 / 0.748 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.811, allocations: 2.812 kB / 0.748 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.8114, allocations: 158.2 kB / 0.7482 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.8115, allocations: 99.69 kB / 0.7483 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.8115, allocations: 6.719 kB / 0.7483 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.178e-05/0.8116, allocations: 4.938 kB / 0.7483 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.8117, allocations: 5.891 kB / 0.7483 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.8117, allocations: 2.547 kB / 0.7483 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002798/0.812, allocations: 199 kB / 0.7485 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/0.812, allocations: 0 / 0.7485 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000359/0.8123, allocations: 48.81 kB / 0.7485 GB, free: 106.1 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: 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.001342/0.8137, allocations: 457.8 kB / 0.749 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.814, allocations: 79.91 kB / 0.749 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.814, allocations: 0 / 0.749 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.8141, allocations: 43.67 kB / 0.7491 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.8144, allocations: 28.83 kB / 0.7491 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/0.8152, allocations: 337.2 kB / 0.7494 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002522/0.8154, allocations: 0.7279 MB / 0.7501 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.495e-05/0.8155, allocations: 24.03 kB / 0.7502 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.8156, allocations: 19.08 kB / 0.7502 GB, free: 105 MB / 0.5105 GB Notification: Performance of SimCode: time 7.62e-07/0.8156, allocations: 0 / 0.7502 GB, free: 105 MB / 0.5105 GB Notification: Performance of Templates: time 0.006496/0.8221, allocations: 2.267 MB / 0.7524 GB, free: 104.8 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)