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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 108.3 kB / 15.99 MB, free: 6.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 189.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8399/0.8399, allocations: 143 MB / 433.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.91 kB / 0.5143 GB, free: 15.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3531, allocations: 82.03 MB / 0.5944 GB, free: 16.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002541/0.3557, allocations: 1.839 MB / 0.5962 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.3569, allocations: 1.001 MB / 0.5972 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.3569, allocations: 4 kB / 0.5972 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.3574, allocations: 155.5 kB / 0.5974 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.3577, allocations: 108.9 kB / 0.5975 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.358, allocations: 151.8 kB / 0.5976 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.3582, allocations: 167.6 kB / 0.5978 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.063e-05/0.3583, allocations: 22.33 kB / 0.5978 GB, free: 12.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.11e-05/0.3584, allocations: 87.56 kB / 0.5979 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.3585, allocations: 65.69 kB / 0.5979 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.3585, allocations: 8 kB / 0.5979 GB, free: 12.76 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3586, allocations: 59.91 kB / 0.598 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.3587, allocations: 39.91 kB / 0.598 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.998e-05/0.3587, allocations: 63.59 kB / 0.5981 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001614/0.3589, allocations: 158.2 kB / 0.5982 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3589, allocations: 0 / 0.5982 GB, free: 12.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3589, allocations: 2.906 kB / 0.5983 GB, free: 12.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3589, allocations: 0 / 0.5983 GB, free: 12.45 MB / 446.1 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.0005138/0.3594, allocations: 496.2 kB / 0.5987 GB, free: 11.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.3595, allocations: 8.031 kB / 0.5987 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.3595, allocations: 20.73 kB / 0.5988 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.3597, allocations: 241 kB / 0.599 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3597, allocations: 4.875 kB / 0.599 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.3598, allocations: 9.719 kB / 0.599 GB, free: 11.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3599, allocations: 95.3 kB / 0.5991 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.3599, allocations: 1.406 kB / 0.5991 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3599, allocations: 4 kB / 0.5991 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.36, allocations: 0 / 0.5991 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.3601, allocations: 35.98 kB / 0.5991 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.3604, allocations: 362.8 kB / 0.5995 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.3606, allocations: 75.98 kB / 0.5995 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.3607, allocations: 33.75 kB / 0.5996 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3607, allocations: 0 / 0.5996 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.3608, allocations: 92.72 kB / 0.5997 GB, free: 10.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.383e-06/0.3608, allocations: 0 / 0.5997 GB, free: 10.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.0002744/0.3611, allocations: 138.7 kB / 0.5998 GB, free: 10.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3612, allocations: 86.17 kB / 0.5999 GB, free: 10.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3613, allocations: 259.6 kB / 0.6001 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.3614, allocations: 33.64 kB / 0.6002 GB, free: 10.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.3614, allocations: 117.6 kB / 0.6003 GB, free: 10.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.3614, allocations: 23.7 kB / 0.6003 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.3615, allocations: 25.7 kB / 0.6003 GB, free: 10.11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.035e-05/0.3615, allocations: 335.5 kB / 0.6006 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/0.3616, allocations: 29.52 kB / 0.6007 GB, free: 9.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-05/0.3617, allocations: 58.88 kB / 0.6007 GB, free: 9.684 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.3618, allocations: 73.64 kB / 0.6008 GB, free: 9.605 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.3618, allocations: 0.6875 kB / 0.6008 GB, free: 9.605 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001605/0.3619, allocations: 122.4 kB / 0.6009 GB, free: 9.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.362, allocations: 4 kB / 0.6009 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.362, allocations: 3.062 kB / 0.6009 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.362, allocations: 0 / 0.6009 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.702e-05/0.3621, allocations: 15.98 kB / 0.6009 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.3621, allocations: 0 / 0.6009 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.395e-05/0.3621, allocations: 11.88 kB / 0.6009 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.3621, allocations: 0 / 0.6009 GB, free: 9.449 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.91e-05/0.3622, allocations: 143.2 kB / 0.6011 GB, free: 9.301 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.3623, allocations: 15.81 kB / 0.6011 GB, free: 9.285 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.815e-05/0.3623, allocations: 17.39 kB / 0.6011 GB, free: 9.266 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.3623, allocations: 9.344 kB / 0.6011 GB, free: 9.258 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.3623, allocations: 3.938 kB / 0.6011 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3623, allocations: 3.938 kB / 0.6011 GB, free: 9.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.3625, allocations: 217.5 kB / 0.6013 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3625, allocations: 9.141 kB / 0.6013 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.825e-05/0.3625, allocations: 96 / 0.6013 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3625, allocations: 7.938 kB / 0.6014 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3625, allocations: 0.9375 kB / 0.6014 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3625, allocations: 0 / 0.6014 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.3625, allocations: 0 / 0.6014 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.3627, allocations: 158.3 kB / 0.6015 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.3628, allocations: 94.23 kB / 0.6016 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.555e-05/0.3628, allocations: 0 / 0.6016 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.483e-05/0.3628, allocations: 12 kB / 0.6016 GB, free: 8.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.3629, allocations: 5.266 kB / 0.6016 GB, free: 8.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.3629, allocations: 7.938 kB / 0.6016 GB, free: 8.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.363, allocations: 191.2 kB / 0.6018 GB, free: 8.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.363, allocations: 1.469 kB / 0.6018 GB, free: 8.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.3633, allocations: 28 kB / 0.6018 GB, free: 8.453 MB / 446.1 MB 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.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008459/0.3641, allocations: 430.8 kB / 0.6022 GB, free: 8.227 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001825/0.3643, allocations: 75.91 kB / 0.6023 GB, free: 8.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3643, allocations: 5.5 kB / 0.6023 GB, free: 8.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.787e-05/0.3644, allocations: 35.92 kB / 0.6024 GB, free: 8.113 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.3647, allocations: 37.19 kB / 0.6024 GB, free: 8.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004098/0.3651, allocations: 370.1 kB / 0.6027 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001274/0.3652, allocations: 0.7259 MB / 0.6034 GB, free: 6.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.3653, allocations: 19.44 kB / 0.6035 GB, free: 6.926 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3653, allocations: 0 / 0.6035 GB, free: 6.926 MB / 446.1 MB Notification: Performance of Templates: time 0.003407/0.3687, allocations: 2.563 MB / 0.606 GB, free: 4.43 MB / 446.1 MB 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)