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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.005234/0.005234, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.348 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 1.015/1.015, allocations: 143.2 MB / 434.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002862, allocations: 12 kB / 0.5165 GB, free: 11.12 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1713, allocations: 83.42 MB / 0.598 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002233/0.1736, allocations: 1.492 MB / 0.5994 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1751, allocations: 0.9793 MB / 0.6004 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.448e-05/0.1752, allocations: 4 kB / 0.6004 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005505/0.1757, allocations: 157.4 kB / 0.6005 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.176, allocations: 95.69 kB / 0.6006 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1763, allocations: 146.8 kB / 0.6008 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.1765, allocations: 175.5 kB / 0.6009 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.284e-05/0.1766, allocations: 21.09 kB / 0.6009 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.1767, allocations: 59.66 kB / 0.601 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.1768, allocations: 63.75 kB / 0.6011 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1769, allocations: 7.938 kB / 0.6011 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.177, allocations: 47.97 kB / 0.6011 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1771, allocations: 43.83 kB / 0.6012 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.278e-05/0.1772, allocations: 77.38 kB / 0.6012 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.1775, allocations: 195.6 kB / 0.6014 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1775, allocations: 0 / 0.6014 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1775, allocations: 4 kB / 0.6014 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.1775, allocations: 0 / 0.6014 GB, free: 4.094 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.0006169/0.1781, allocations: 480.4 kB / 0.6019 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1782, allocations: 8.031 kB / 0.6019 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/0.1783, allocations: 34.75 kB / 0.6019 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.944e-05/0.1783, allocations: 16.75 kB / 0.6019 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000288/0.1786, allocations: 248.9 kB / 0.6022 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.1786, allocations: 12.3 kB / 0.6022 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.1786, allocations: 3.938 kB / 0.6022 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1788, allocations: 95.31 kB / 0.6023 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.1788, allocations: 0 / 0.6023 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.1788, allocations: 0 / 0.6023 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1789, allocations: 4 kB / 0.6023 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.858e-05/0.179, allocations: 31.97 kB / 0.6023 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.1794, allocations: 360.6 kB / 0.6027 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.1796, allocations: 74.78 kB / 0.6027 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.311e-05/0.1797, allocations: 40.72 kB / 0.6028 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1797, allocations: 8 kB / 0.6028 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/0.1799, allocations: 75.39 kB / 0.6029 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1799, allocations: 0 / 0.6029 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003215/0.1802, allocations: 149.7 kB / 0.603 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1803, allocations: 77.11 kB / 0.6031 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.1805, allocations: 271.5 kB / 0.6033 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1806, allocations: 25.7 kB / 0.6034 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.1807, allocations: 120.1 kB / 0.6035 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.1807, allocations: 27.64 kB / 0.6035 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.758e-05/0.1807, allocations: 17.72 kB / 0.6035 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1809, allocations: 322.8 kB / 0.6038 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.362e-05/0.1809, allocations: 27.98 kB / 0.6038 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.155e-05/0.181, allocations: 63.41 kB / 0.6039 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1811, allocations: 73.67 kB / 0.604 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1812, allocations: 0 / 0.604 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001953/0.1814, allocations: 117.4 kB / 0.6041 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1814, allocations: 4 kB / 0.6041 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1814, allocations: 0 / 0.6041 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.1814, allocations: 0 / 0.6041 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.272e-05/0.1815, allocations: 12 kB / 0.6041 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1815, allocations: 3.984 kB / 0.6041 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.051e-05/0.1816, allocations: 15.88 kB / 0.6041 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1816, allocations: 8 kB / 0.6041 GB, free: 1.051 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 ($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 0.0001145/0.1817, allocations: 138.4 kB / 0.6043 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.1817, allocations: 15.81 kB / 0.6043 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.454e-05/0.1818, allocations: 25.39 kB / 0.6043 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.1818, allocations: 0 / 0.6043 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1818, allocations: 0 / 0.6043 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.1818, allocations: 11.88 kB / 0.6043 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001818/0.182, allocations: 225.5 kB / 0.6045 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.182, allocations: 96 / 0.6045 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.1821, allocations: 11.94 kB / 0.6045 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1821, allocations: 0 / 0.6045 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.1821, allocations: 3.984 kB / 0.6045 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1821, allocations: 0 / 0.6045 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1821, allocations: 4 kB / 0.6045 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1823, allocations: 144.8 kB / 0.6047 GB, free: 408 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.1824, allocations: 100.9 kB / 0.6048 GB, free: 288 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1824, allocations: 4 kB / 0.6048 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.1825, allocations: 0 / 0.6048 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.1825, allocations: 11.92 kB / 0.6048 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1825, allocations: 4 kB / 0.6048 GB, free: 268 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001825/0.1827, allocations: 196.6 kB / 0.605 GB, free: 72 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1827, allocations: 0 / 0.605 GB, free: 72 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002366/0.183, allocations: 31.91 kB / 0.605 GB, free: 40 kB / 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 (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.2968/0.4797, allocations: 0.9844 MB / 0.606 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.48, allocations: 74.45 kB / 0.606 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.48, allocations: 0 / 0.606 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.726e-05/0.4801, allocations: 38.95 kB / 0.6061 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.4804, allocations: 43.31 kB / 0.6061 GB, free: 40.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.4822, allocations: 1.989 MB / 0.6081 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.4824, allocations: 0.7192 MB / 0.6088 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.814e-05/0.4825, allocations: 27.98 kB / 0.6088 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.776e-05/0.4826, allocations: 47.66 kB / 0.6088 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.4826, allocations: 0 / 0.6088 GB, free: 38.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05917/0.5418, allocations: 4.024 MB / 0.6128 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001613/0.542, allocations: 251.8 kB / 0.613 GB, free: 38.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.301, allocations: 0 / 0.613 GB, free: 38.26 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)