Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",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.005264/0.005264, allocations: 101.4 kB / 15.73 MB, free: 6.07 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.001285/0.001285, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.928/0.928, allocations: 143.3 MB / 433.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.73 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1566, allocations: 82.04 MB / 0.6754 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003385/0.16, allocations: 1.777 MB / 0.6772 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001965/0.162, allocations: 1.103 MB / 0.6782 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.653e-05/0.1621, allocations: 0 / 0.6782 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002903/0.1624, allocations: 55.73 kB / 0.6783 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000261/0.1627, allocations: 83.66 kB / 0.6784 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006735/0.1634, allocations: 237 kB / 0.6786 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1636, allocations: 135.7 kB / 0.6787 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1637, allocations: 25.09 kB / 0.6787 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.1638, allocations: 55.78 kB / 0.6788 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.164, allocations: 71.62 kB / 0.6789 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.164, allocations: 12 kB / 0.6789 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.1642, allocations: 75.94 kB / 0.679 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.943e-05/0.1643, allocations: 31.91 kB / 0.679 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.248e-05/0.1644, allocations: 71.53 kB / 0.679 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003371/0.1647, allocations: 191.6 kB / 0.6792 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1647, allocations: 3.938 kB / 0.6792 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1647, allocations: 0 / 0.6792 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.1647, allocations: 0 / 0.6792 GB, free: 6.676 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007464/0.1655, allocations: 0.4883 MB / 0.6797 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1656, allocations: 16.03 kB / 0.6797 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.1656, allocations: 34.75 kB / 0.6798 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.1657, allocations: 16.84 kB / 0.6798 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003897/0.1661, allocations: 253 kB / 0.68 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1661, allocations: 8.359 kB / 0.68 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1661, allocations: 7.922 kB / 0.68 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.1663, allocations: 100.1 kB / 0.6801 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1663, allocations: 4 kB / 0.6801 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.1664, allocations: 4 kB / 0.6801 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.1664, allocations: 0 / 0.6801 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.1665, allocations: 35.97 kB / 0.6802 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.167, allocations: 348.7 kB / 0.6805 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.1673, allocations: 94.62 kB / 0.6806 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.1674, allocations: 36.84 kB / 0.6806 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1674, allocations: 0 / 0.6806 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001824/0.1676, allocations: 75.38 kB / 0.6807 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.1676, allocations: 0 / 0.6807 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003729/0.168, allocations: 149.5 kB / 0.6808 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.1681, allocations: 102.8 kB / 0.6809 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002988/0.1684, allocations: 270.9 kB / 0.6812 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1684, allocations: 29.7 kB / 0.6812 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.412e-05/0.1685, allocations: 120.1 kB / 0.6813 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.1685, allocations: 19.84 kB / 0.6814 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.1686, allocations: 29.7 kB / 0.6814 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1687, allocations: 326.8 kB / 0.6817 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.1688, allocations: 27.98 kB / 0.6817 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000116/0.169, allocations: 72.2 kB / 0.6818 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1691, allocations: 69.69 kB / 0.6819 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1691, allocations: 0 / 0.6819 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002326/0.1694, allocations: 113.5 kB / 0.682 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1694, allocations: 4 kB / 0.682 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1694, allocations: 0 / 0.682 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1694, allocations: 4.031 kB / 0.682 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.128e-05/0.1695, allocations: 15.98 kB / 0.682 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1695, allocations: 0 / 0.682 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.1696, allocations: 12.12 kB / 0.682 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1696, allocations: 4 kB / 0.682 GB, free: 3.543 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.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.0001443/0.1698, allocations: 149.7 kB / 0.6822 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.1698, allocations: 19.83 kB / 0.6822 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.1699, allocations: 17.41 kB / 0.6822 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.1699, allocations: 4 kB / 0.6822 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1699, allocations: 8 kB / 0.6822 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1699, allocations: 3.938 kB / 0.6822 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.1701, allocations: 229.5 kB / 0.6824 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1701, allocations: 3.938 kB / 0.6824 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.1702, allocations: 4 kB / 0.6824 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1702, allocations: 4 kB / 0.6824 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.1702, allocations: 0 / 0.6824 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1702, allocations: 0 / 0.6824 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1702, allocations: 0 / 0.6824 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.1705, allocations: 149.3 kB / 0.6826 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/0.1705, allocations: 89.02 kB / 0.6827 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.592e-05/0.1706, allocations: 11.98 kB / 0.6827 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.454e-05/0.1707, allocations: 0 / 0.6827 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.1707, allocations: 15.86 kB / 0.6827 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1707, allocations: 8 kB / 0.6827 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001925/0.1709, allocations: 188.6 kB / 0.6829 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1709, allocations: 0 / 0.6829 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002728/0.1712, allocations: 39.92 kB / 0.6829 GB, free: 2.52 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.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.001991/0.1732, allocations: 1.006 MB / 0.6839 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.1735, allocations: 71.84 kB / 0.684 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1735, allocations: 4.062 kB / 0.684 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.1736, allocations: 31.98 kB / 0.684 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.1739, allocations: 45.31 kB / 0.684 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.1764, allocations: 1.947 MB / 0.6859 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.177, allocations: 0.7279 MB / 0.6867 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 9.424e-05/0.1771, allocations: 25.38 kB / 0.6867 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.096e-05/0.1772, allocations: 43.42 kB / 0.6867 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.1772, allocations: 0 / 0.6867 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02662/0.2038, allocations: 4.713 MB / 0.6913 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.252/8.456, allocations: 7.984 kB / 0.6913 GB, free: 10.05 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)