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/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.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.004532/0.004533, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001118/0.001118, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 4.164 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.9919/0.9919, allocations: 143 MB / 433.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.595 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4489/0.4503, allocations: 82.03 MB / 0.6752 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003628/0.4539, allocations: 1.778 MB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.4561, allocations: 1.109 MB / 0.678 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.4563, allocations: 1.344 kB / 0.678 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.4566, allocations: 58.92 kB / 0.678 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.4569, allocations: 70.61 kB / 0.6781 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.4577, allocations: 234 kB / 0.6783 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.458, allocations: 141 kB / 0.6785 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.4581, allocations: 16.16 kB / 0.6785 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.4583, allocations: 72.16 kB / 0.6785 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.4584, allocations: 67.25 kB / 0.6786 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.701e-05/0.4585, allocations: 7.594 kB / 0.6786 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002367/0.4587, allocations: 76.16 kB / 0.6787 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.4588, allocations: 34.19 kB / 0.6787 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 9.749e-05/0.4589, allocations: 63.92 kB / 0.6788 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.4593, allocations: 198.5 kB / 0.679 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.4594, allocations: 0 / 0.679 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4594, allocations: 0 / 0.679 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.917e-06/0.4594, allocations: 1.031 kB / 0.679 GB, free: 14.2 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.0007871/0.4602, allocations: 490.2 kB / 0.6794 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.4602, allocations: 14.39 kB / 0.6795 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.4603, allocations: 36.09 kB / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.812e-05/0.4603, allocations: 20.5 kB / 0.6795 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.4607, allocations: 248.2 kB / 0.6797 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.4608, allocations: 6.484 kB / 0.6797 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.4608, allocations: 6.906 kB / 0.6798 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.461, allocations: 104.2 kB / 0.6799 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.461, allocations: 3.938 kB / 0.6799 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.4611, allocations: 1.094 kB / 0.6799 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.4611, allocations: 2.594 kB / 0.6799 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.4612, allocations: 37.8 kB / 0.6799 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.4618, allocations: 352 kB / 0.6802 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.462, allocations: 96.44 kB / 0.6803 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.769e-05/0.4621, allocations: 32.34 kB / 0.6804 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.4622, allocations: 2.031 kB / 0.6804 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.4624, allocations: 74.25 kB / 0.6804 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.4624, allocations: 3.938 kB / 0.6804 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003896/0.4628, allocations: 143.9 kB / 0.6806 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.4629, allocations: 108 kB / 0.6807 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.4632, allocations: 265.3 kB / 0.6809 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.4632, allocations: 27.02 kB / 0.681 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.4633, allocations: 116.1 kB / 0.6811 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.4634, allocations: 24.14 kB / 0.6811 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.4634, allocations: 26.72 kB / 0.6811 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.4636, allocations: 331.2 kB / 0.6814 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.164e-05/0.4637, allocations: 29.61 kB / 0.6815 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.4638, allocations: 65.25 kB / 0.6815 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.464, allocations: 78.17 kB / 0.6816 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.464, allocations: 0 / 0.6816 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002473/0.4642, allocations: 112.3 kB / 0.6817 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4642, allocations: 10 kB / 0.6817 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4643, allocations: 0 / 0.6817 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4643, allocations: 1.125 kB / 0.6817 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.4644, allocations: 22.14 kB / 0.6817 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4644, allocations: 1.219 kB / 0.6817 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.901e-05/0.4645, allocations: 11.44 kB / 0.6817 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.4645, allocations: 2.5 kB / 0.6817 GB, free: 11.65 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.0001573/0.4647, allocations: 145.8 kB / 0.6819 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.4647, allocations: 15.59 kB / 0.6819 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.4648, allocations: 24.23 kB / 0.6819 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.4648, allocations: 2.375 kB / 0.6819 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4648, allocations: 0 / 0.6819 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4648, allocations: 4.125 kB / 0.6819 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.465, allocations: 230.4 kB / 0.6821 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.465, allocations: 5.062 kB / 0.6822 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.493e-05/0.4651, allocations: 8.484 kB / 0.6822 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4651, allocations: 1.312 kB / 0.6822 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4651, allocations: 1 kB / 0.6822 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.4651, allocations: 0 / 0.6822 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4651, allocations: 5.219 kB / 0.6822 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.4654, allocations: 138.5 kB / 0.6823 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.4655, allocations: 87.61 kB / 0.6824 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/0.4655, allocations: 9.094 kB / 0.6824 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.964e-05/0.4656, allocations: 6.078 kB / 0.6824 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.526e-05/0.4656, allocations: 8.719 kB / 0.6824 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.4657, allocations: 10.61 kB / 0.6824 GB, free: 11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002244/0.4659, allocations: 199.7 kB / 0.6826 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.31e-07/0.4659, allocations: 0 / 0.6826 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002948/0.4662, allocations: 41.2 kB / 0.6826 GB, free: 10.86 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.001702/0.4679, allocations: 0.9925 MB / 0.6836 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.4682, allocations: 75.61 kB / 0.6837 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4682, allocations: 0 / 0.6837 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.194e-05/0.4683, allocations: 32.89 kB / 0.6837 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.4686, allocations: 50.25 kB / 0.6838 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.4712, allocations: 1.944 MB / 0.6857 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.4715, allocations: 0.7262 MB / 0.6864 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.378e-05/0.4716, allocations: 24.5 kB / 0.6864 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.4717, allocations: 45.05 kB / 0.6864 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of SimCode: time 5.41e-07/0.4717, allocations: 0 / 0.6864 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/0.4963, allocations: 4.762 MB / 0.6911 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.775/8.272, allocations: 8.516 kB / 0.6911 GB, free: 5.258 MB / 0.5137 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)