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: 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.0008384/0.0008385, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005581/0.005581, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.495/1.495, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.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 1.075/1.075, allocations: 143.4 MB / 434.8 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003387/0.0003388, allocations: 12 kB / 0.5166 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2104, allocations: 83.4 MB / 0.5981 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002254/0.2127, allocations: 1.484 MB / 0.5995 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.2145, allocations: 1.061 MB / 0.6006 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.154e-05/0.2146, allocations: 4 kB / 0.6006 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.2149, allocations: 55.8 kB / 0.6006 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001992/0.2151, allocations: 63.75 kB / 0.6007 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005599/0.2157, allocations: 207.3 kB / 0.6009 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.2159, allocations: 131.7 kB / 0.601 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.216, allocations: 17.11 kB / 0.601 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.339e-05/0.2161, allocations: 55.66 kB / 0.6011 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.2162, allocations: 59.75 kB / 0.6011 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2163, allocations: 0 / 0.6011 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000146/0.2164, allocations: 67.89 kB / 0.6012 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.512e-05/0.2165, allocations: 35.91 kB / 0.6012 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.099e-05/0.2166, allocations: 85.3 kB / 0.6013 GB, free: 4.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002672/0.2169, allocations: 183.7 kB / 0.6015 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2169, allocations: 0 / 0.6015 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2169, allocations: 0 / 0.6015 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2169, allocations: 0 / 0.6015 GB, free: 3.961 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006706/0.2176, allocations: 468.5 kB / 0.6019 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2176, allocations: 12.03 kB / 0.6019 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.055e-05/0.2177, allocations: 16.75 kB / 0.602 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.218, allocations: 244.9 kB / 0.6022 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.218, allocations: 4.375 kB / 0.6022 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.2181, allocations: 24.05 kB / 0.6022 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.2183, allocations: 100.1 kB / 0.6023 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2183, allocations: 0 / 0.6023 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2183, allocations: 3.938 kB / 0.6023 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.2184, allocations: 0 / 0.6023 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.2185, allocations: 39.98 kB / 0.6024 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.219, allocations: 356.6 kB / 0.6027 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.2193, allocations: 86.66 kB / 0.6028 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.718e-05/0.2194, allocations: 28.84 kB / 0.6028 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.2194, allocations: 8 kB / 0.6028 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002143/0.2196, allocations: 83.41 kB / 0.6029 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.2196, allocations: 0 / 0.6029 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.000362/0.22, allocations: 137.4 kB / 0.603 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.2201, allocations: 106.8 kB / 0.6031 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.2203, allocations: 263.6 kB / 0.6034 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2204, allocations: 33.7 kB / 0.6034 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.2205, allocations: 112.1 kB / 0.6035 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.943e-05/0.2205, allocations: 19.8 kB / 0.6035 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.2205, allocations: 17.72 kB / 0.6036 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2207, allocations: 330.7 kB / 0.6039 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.977e-05/0.2207, allocations: 27.98 kB / 0.6039 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.616e-05/0.2208, allocations: 68.27 kB / 0.604 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/0.221, allocations: 73.69 kB / 0.604 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.221, allocations: 0 / 0.604 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002154/0.2212, allocations: 113.4 kB / 0.6041 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.2212, allocations: 9.078 kB / 0.6041 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2213, allocations: 0 / 0.6041 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.2213, allocations: 0 / 0.6041 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.084e-05/0.2214, allocations: 12 kB / 0.6042 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2214, allocations: 8.547 kB / 0.6042 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.845e-05/0.2215, allocations: 19.77 kB / 0.6042 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.2215, allocations: 11.94 kB / 0.6042 GB, free: 0.9062 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: 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.0001331/0.2216, allocations: 139.4 kB / 0.6043 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.346e-05/0.2217, allocations: 11.81 kB / 0.6043 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.912e-05/0.2217, allocations: 21.39 kB / 0.6044 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.2217, allocations: 11.94 kB / 0.6044 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2217, allocations: 0 / 0.6044 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.2217, allocations: 3.938 kB / 0.6044 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.2219, allocations: 221.6 kB / 0.6046 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.222, allocations: 0 / 0.6046 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.222, allocations: 4 kB / 0.6046 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.222, allocations: 4 kB / 0.6046 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.222, allocations: 3.984 kB / 0.6046 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.155e-06/0.222, allocations: 3.984 kB / 0.6046 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.222, allocations: 0 / 0.6046 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.2223, allocations: 152.8 kB / 0.6048 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.85e-05/0.2224, allocations: 92.92 kB / 0.6048 GB, free: 152 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/0.2224, allocations: 8 kB / 0.6048 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.2225, allocations: 7.984 kB / 0.6049 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.933e-05/0.2225, allocations: 4 kB / 0.6049 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.2226, allocations: 7.922 kB / 0.6049 GB, free: 124 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.3487/0.5712, allocations: 190.9 kB / 0.605 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.002e-06/0.5713, allocations: 0 / 0.605 GB, free: 40.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004349/0.5717, allocations: 32.53 kB / 0.6051 GB, free: 40.86 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: 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.00126/0.573, allocations: 427 kB / 0.6055 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000394/0.5734, allocations: 68.98 kB / 0.6056 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.5734, allocations: 0.5 kB / 0.6056 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.5736, allocations: 42 kB / 0.6056 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.574, allocations: 37.61 kB / 0.6056 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.5747, allocations: 323.3 kB / 0.6059 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.5748, allocations: 0.724 MB / 0.6066 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.54e-05/0.575, allocations: 30.45 kB / 0.6067 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.897e-05/0.575, allocations: 22.12 kB / 0.6067 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of SimCode: time 3.7e-07/0.575, allocations: 0 / 0.6067 GB, free: 39.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.005705/0.5807, allocations: 2.425 MB / 0.6091 GB, free: 39.71 MB / 0.4981 GB 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 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)