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.0008505/0.0008548, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008921/0.0008921, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.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.8791/0.8791, allocations: 143.2 MB / 434.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003134, allocations: 16 kB / 0.5158 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 83.41 MB / 0.5972 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.001783/0.133, allocations: 1.469 MB / 0.5987 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.1344, allocations: 0.9331 MB / 0.5996 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.899e-05/0.1344, allocations: 3.938 kB / 0.5996 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.135, allocations: 151.7 kB / 0.5997 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.1352, allocations: 95.69 kB / 0.5998 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1356, allocations: 138.6 kB / 0.6 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1358, allocations: 147.6 kB / 0.6001 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.634e-05/0.1359, allocations: 29.11 kB / 0.6001 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.136, allocations: 59.7 kB / 0.6002 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1361, allocations: 63.75 kB / 0.6002 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1361, allocations: 4 kB / 0.6002 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1362, allocations: 47.95 kB / 0.6003 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.1363, allocations: 43.78 kB / 0.6003 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.1363, allocations: 41.64 kB / 0.6004 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.1365, allocations: 152 kB / 0.6005 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1365, allocations: 0 / 0.6005 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1365, allocations: 0 / 0.6005 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.1366, allocations: 0 / 0.6005 GB, free: 4.711 MB / 0.4981 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.0005653/0.1371, allocations: 480.2 kB / 0.601 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.1372, allocations: 8.031 kB / 0.601 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.1372, allocations: 19.72 kB / 0.601 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.1375, allocations: 243.7 kB / 0.6012 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1375, allocations: 4 kB / 0.6012 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1375, allocations: 0 / 0.6012 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1377, allocations: 95.31 kB / 0.6013 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1377, allocations: 0 / 0.6013 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1377, allocations: 4 kB / 0.6013 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.1377, allocations: 0 / 0.6013 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/0.1378, allocations: 31.98 kB / 0.6014 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004396/0.1383, allocations: 360.6 kB / 0.6017 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.1384, allocations: 78.67 kB / 0.6018 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.632e-05/0.1385, allocations: 28.86 kB / 0.6018 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.1385, allocations: 3.984 kB / 0.6018 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/0.1387, allocations: 83.33 kB / 0.6019 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1387, allocations: 0 / 0.6019 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002941/0.139, allocations: 141.4 kB / 0.602 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.1391, allocations: 89 kB / 0.6021 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.1393, allocations: 263.7 kB / 0.6024 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.1393, allocations: 25.7 kB / 0.6024 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.1394, allocations: 120 kB / 0.6025 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.517e-05/0.1394, allocations: 23.66 kB / 0.6025 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.1394, allocations: 3.984 kB / 0.6025 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.1395, allocations: 330.9 kB / 0.6028 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.1396, allocations: 35.92 kB / 0.6029 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.885e-05/0.1397, allocations: 55.42 kB / 0.6029 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.229e-05/0.1398, allocations: 31.98 kB / 0.603 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1398, allocations: 0 / 0.603 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001799/0.1399, allocations: 113.4 kB / 0.6031 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.14, allocations: 8.062 kB / 0.6031 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.14, allocations: 4 kB / 0.6031 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.14, allocations: 0 / 0.6031 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.293e-05/0.1401, allocations: 11.94 kB / 0.6031 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.1401, allocations: 3.953 kB / 0.6031 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.1401, allocations: 11.98 kB / 0.6031 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1402, allocations: 4 kB / 0.6031 GB, free: 1.797 MB / 0.4981 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.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,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.0001073/0.1403, allocations: 137.8 kB / 0.6032 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.1403, allocations: 19.81 kB / 0.6033 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.1403, allocations: 21.39 kB / 0.6033 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.1404, allocations: 4 kB / 0.6033 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.1404, allocations: 0 / 0.6033 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1404, allocations: 3.953 kB / 0.6033 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.1406, allocations: 221.8 kB / 0.6035 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1406, allocations: 0 / 0.6035 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.97e-05/0.1406, allocations: 8 kB / 0.6035 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1406, allocations: 7.984 kB / 0.6035 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1406, allocations: 7.938 kB / 0.6035 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.975e-06/0.1406, allocations: 11.92 kB / 0.6035 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1406, allocations: 0 / 0.6035 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.1408, allocations: 140.9 kB / 0.6037 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.1409, allocations: 100.9 kB / 0.6038 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1409, allocations: 0 / 0.6038 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.605e-05/0.141, allocations: 4 kB / 0.6038 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.141, allocations: 7.984 kB / 0.6038 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.141, allocations: 7.938 kB / 0.6038 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001597/0.1412, allocations: 196.5 kB / 0.604 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1412, allocations: 0 / 0.604 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002165/0.1414, allocations: 31.98 kB / 0.604 GB, free: 0.7812 MB / 0.4981 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.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 (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.0008336/0.1423, allocations: 419.9 kB / 0.6044 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001776/0.1425, allocations: 67.92 kB / 0.6045 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1425, allocations: 8.062 kB / 0.6045 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.594e-05/0.1426, allocations: 31.98 kB / 0.6045 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.1428, allocations: 37.34 kB / 0.6045 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.1432, allocations: 322.1 kB / 0.6049 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2116/0.3548, allocations: 0.7205 MB / 0.6056 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001106/0.3549, allocations: 22.62 kB / 0.6056 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.355, allocations: 19.91 kB / 0.6056 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.355, allocations: 0 / 0.6056 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.004218/0.3592, allocations: 2.128 MB / 0.6077 GB, free: 40.43 MB / 0.4981 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)