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.001065/0.001065, allocations: 98.03 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.007868/0.007868, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.043/1.043, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 0.5164 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2007, allocations: 83.41 MB / 0.5978 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002625/0.2034, allocations: 1.488 MB / 0.5993 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.2054, allocations: 1.053 MB / 0.6003 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.31e-05/0.2055, allocations: 4 kB / 0.6003 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003261/0.2058, allocations: 55.8 kB / 0.6004 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.206, allocations: 71.8 kB / 0.6004 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005766/0.2066, allocations: 192.2 kB / 0.6006 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.2068, allocations: 139.6 kB / 0.6008 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.2071, allocations: 21.11 kB / 0.6008 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.2072, allocations: 59.7 kB / 0.6008 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.2073, allocations: 63.69 kB / 0.6009 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.2073, allocations: 4 kB / 0.6009 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.2075, allocations: 59.95 kB / 0.601 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.272e-05/0.2075, allocations: 31.91 kB / 0.601 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.2077, allocations: 81.25 kB / 0.6011 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002706/0.2079, allocations: 191.6 kB / 0.6013 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2079, allocations: 4 kB / 0.6013 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.208, allocations: 0 / 0.6013 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.208, allocations: 0 / 0.6013 GB, free: 4.113 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.0006955/0.2087, allocations: 460.5 kB / 0.6017 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.2087, allocations: 8.031 kB / 0.6017 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.689e-05/0.2088, allocations: 20.73 kB / 0.6017 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.2091, allocations: 252.8 kB / 0.602 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2091, allocations: 4.312 kB / 0.602 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.2091, allocations: 8.125 kB / 0.602 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.2093, allocations: 96.23 kB / 0.6021 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.2094, allocations: 3.984 kB / 0.6021 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.2094, allocations: 11.86 kB / 0.6021 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.002e-05/0.2094, allocations: 4 kB / 0.6021 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.2095, allocations: 27.98 kB / 0.6021 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.2101, allocations: 356.7 kB / 0.6025 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.2103, allocations: 90.69 kB / 0.6025 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.2104, allocations: 32.84 kB / 0.6026 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.2104, allocations: 4 kB / 0.6026 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/0.2107, allocations: 79.38 kB / 0.6027 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.2108, allocations: 0 / 0.6027 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003627/0.2111, allocations: 141.4 kB / 0.6028 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.886e-05/0.2112, allocations: 106.8 kB / 0.6029 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.2116, allocations: 267.6 kB / 0.6031 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.2116, allocations: 29.7 kB / 0.6032 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.2118, allocations: 116.1 kB / 0.6033 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.2118, allocations: 7.812 kB / 0.6033 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.2119, allocations: 25.7 kB / 0.6033 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.2121, allocations: 334.8 kB / 0.6036 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.154e-05/0.2122, allocations: 23.98 kB / 0.6037 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.2123, allocations: 68.27 kB / 0.6037 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2124, allocations: 69.64 kB / 0.6038 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2125, allocations: 4 kB / 0.6038 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002111/0.2127, allocations: 117.4 kB / 0.6039 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2127, allocations: 4 kB / 0.6039 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2127, allocations: 4 kB / 0.6039 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.2127, allocations: 0 / 0.6039 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.2128, allocations: 12.17 kB / 0.6039 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2129, allocations: 4 kB / 0.6039 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.2129, allocations: 19.72 kB / 0.6039 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.2129, allocations: 0 / 0.6039 GB, free: 1.082 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.0001342/0.2131, allocations: 153.8 kB / 0.6041 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.2131, allocations: 19.8 kB / 0.6041 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.2132, allocations: 13.41 kB / 0.6041 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.2132, allocations: 7.938 kB / 0.6041 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2132, allocations: 0 / 0.6041 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.2132, allocations: 7.969 kB / 0.6041 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.2134, allocations: 221.6 kB / 0.6044 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2134, allocations: 4 kB / 0.6044 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/0.2135, allocations: 7.938 kB / 0.6044 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.2135, allocations: 4 kB / 0.6044 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.2135, allocations: 3.984 kB / 0.6044 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2135, allocations: 400 / 0.6044 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.2135, allocations: 4 kB / 0.6044 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.2138, allocations: 140.8 kB / 0.6045 GB, free: 436 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.2138, allocations: 100.9 kB / 0.6046 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.2139, allocations: 0 / 0.6046 GB, free: 316 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.2139, allocations: 8 kB / 0.6046 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.214, allocations: 11.98 kB / 0.6046 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.214, allocations: 7.938 kB / 0.6046 GB, free: 288 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001773/0.2142, allocations: 192.6 kB / 0.6048 GB, free: 96 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2142, allocations: 0 / 0.6048 GB, free: 96 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00025/0.2144, allocations: 36 kB / 0.6048 GB, free: 60 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: 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.32/0.5344, allocations: 421.4 kB / 0.6053 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003572/0.5348, allocations: 68.19 kB / 0.6053 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.5348, allocations: 0.75 kB / 0.6053 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.479e-05/0.5349, allocations: 37.27 kB / 0.6054 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.5353, allocations: 35.11 kB / 0.6054 GB, free: 41.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.5359, allocations: 324.4 kB / 0.6057 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.5361, allocations: 0.7238 MB / 0.6064 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.496e-05/0.5362, allocations: 31.72 kB / 0.6064 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.5362, allocations: 24.38 kB / 0.6065 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.5363, allocations: 0 / 0.6065 GB, free: 40.31 MB / 0.4981 GB Notification: Performance of Templates: time 0.0054/0.5417, allocations: 2.422 MB / 0.6088 GB, free: 40.16 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)