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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001541/0.001541, allocations: 193.2 kB / 17.31 MB, free: 5.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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.17 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.8875/0.8875, allocations: 143.1 MB / 434.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 63.91 kB / 0.5156 GB, free: 14.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3779, allocations: 82.05 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002655/0.3806, allocations: 1.765 MB / 0.5974 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.3819, allocations: 1.097 MB / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.382, allocations: 0 / 0.5985 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.3823, allocations: 56.3 kB / 0.5986 GB, free: 13.19 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.3825, allocations: 84.23 kB / 0.5986 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004692/0.3829, allocations: 229.3 kB / 0.5988 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.3831, allocations: 143.6 kB / 0.599 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.594e-05/0.3832, allocations: 26.59 kB / 0.599 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.609e-05/0.3833, allocations: 63.75 kB / 0.5991 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.3834, allocations: 64.59 kB / 0.5991 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.3834, allocations: 8 kB / 0.5991 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.3835, allocations: 77.12 kB / 0.5992 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.372e-05/0.3836, allocations: 35.86 kB / 0.5992 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.849e-05/0.3837, allocations: 51.67 kB / 0.5993 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3839, allocations: 205 kB / 0.5995 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3839, allocations: 0 / 0.5995 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3839, allocations: 0 / 0.5995 GB, free: 12.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.3839, allocations: 0 / 0.5995 GB, free: 12.23 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004994/0.3844, allocations: 495.9 kB / 0.6 GB, free: 11.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.3844, allocations: 12.03 kB / 0.6 GB, free: 11.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.3845, allocations: 16.75 kB / 0.6 GB, free: 11.67 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.3847, allocations: 248.9 kB / 0.6002 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3848, allocations: 5.844 kB / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.3848, allocations: 8.125 kB / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.385, allocations: 100.9 kB / 0.6003 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.385, allocations: 1.5 kB / 0.6003 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.385, allocations: 0 / 0.6003 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.385, allocations: 4 kB / 0.6003 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.267e-05/0.3851, allocations: 35.91 kB / 0.6004 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003895/0.3855, allocations: 361.5 kB / 0.6007 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.3857, allocations: 85.3 kB / 0.6008 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.15e-05/0.3858, allocations: 28.84 kB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.3858, allocations: 4.719 kB / 0.6008 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.3859, allocations: 84.81 kB / 0.6009 GB, free: 10.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.386, allocations: 0 / 0.6009 GB, free: 10.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003045/0.3863, allocations: 146.9 kB / 0.6011 GB, free: 10.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.3863, allocations: 106.8 kB / 0.6012 GB, free: 10.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3865, allocations: 263 kB / 0.6014 GB, free: 10.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3865, allocations: 26.27 kB / 0.6014 GB, free: 10.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.3866, allocations: 117.5 kB / 0.6016 GB, free: 9.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.3866, allocations: 19.75 kB / 0.6016 GB, free: 9.891 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.3866, allocations: 29.7 kB / 0.6016 GB, free: 9.855 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.632e-05/0.3867, allocations: 332.3 kB / 0.6019 GB, free: 9.523 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.3868, allocations: 31.86 kB / 0.6019 GB, free: 9.492 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.592e-05/0.3869, allocations: 69.02 kB / 0.602 GB, free: 9.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.387, allocations: 71.2 kB / 0.6021 GB, free: 9.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.387, allocations: 0 / 0.6021 GB, free: 9.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001738/0.3872, allocations: 118.1 kB / 0.6022 GB, free: 9.215 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3872, allocations: 5.938 kB / 0.6022 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3872, allocations: 4 kB / 0.6022 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3872, allocations: 0 / 0.6022 GB, free: 9.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.3873, allocations: 15.98 kB / 0.6022 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.3873, allocations: 0 / 0.6022 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.078e-05/0.3874, allocations: 13.91 kB / 0.6022 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3874, allocations: 3.984 kB / 0.6022 GB, free: 9.176 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: 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 8.946e-05/0.3875, allocations: 147.2 kB / 0.6024 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.3875, allocations: 17.16 kB / 0.6024 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.3876, allocations: 21.41 kB / 0.6024 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3876, allocations: 0 / 0.6024 GB, free: 8.984 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3876, allocations: 5.328 kB / 0.6024 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3876, allocations: 3.938 kB / 0.6024 GB, free: 8.977 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.3877, allocations: 221.4 kB / 0.6026 GB, free: 8.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3878, allocations: 4 kB / 0.6026 GB, free: 8.707 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.3878, allocations: 5.719 kB / 0.6026 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3878, allocations: 0 / 0.6026 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.3878, allocations: 7.938 kB / 0.6026 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3878, allocations: 0 / 0.6026 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3878, allocations: 5.344 kB / 0.6027 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.388, allocations: 145.7 kB / 0.6028 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.3881, allocations: 93 kB / 0.6029 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.3881, allocations: 1.125 kB / 0.6029 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.3882, allocations: 8 kB / 0.6029 GB, free: 8.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.784e-05/0.3882, allocations: 7.984 kB / 0.6029 GB, free: 8.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.3882, allocations: 5.344 kB / 0.6029 GB, free: 8.402 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.3884, allocations: 196.6 kB / 0.6031 GB, free: 8.211 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3884, allocations: 0 / 0.6031 GB, free: 8.211 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.3886, allocations: 41.25 kB / 0.6031 GB, free: 8.172 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: 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.0008738/0.3895, allocations: 432.1 kB / 0.6035 GB, free: 7.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.3897, allocations: 67.91 kB / 0.6036 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3897, allocations: 0.9062 kB / 0.6036 GB, free: 7.879 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.425e-05/0.3898, allocations: 31.98 kB / 0.6036 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.3901, allocations: 38.06 kB / 0.6037 GB, free: 7.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.3905, allocations: 292.1 kB / 0.604 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.3906, allocations: 0.7253 MB / 0.6047 GB, free: 6.754 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.3907, allocations: 26.31 kB / 0.6047 GB, free: 6.73 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.3907, allocations: 16.03 kB / 0.6047 GB, free: 6.715 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3907, allocations: 3.938 kB / 0.6047 GB, free: 6.711 MB / 446.1 MB Notification: Performance of Templates: time 0.004726/0.3955, allocations: 2.551 MB / 0.6072 GB, free: 4.246 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)