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.001405/0.001405, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001681/0.001681, allocations: 187.4 kB / 16.25 MB, free: 6.145 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.429/1.429, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.9771/0.9771, allocations: 143 MB / 433.1 MB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 0.5137 GB, free: 12.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.2048, allocations: 82.03 MB / 0.5938 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003047/0.2079, allocations: 1.823 MB / 0.5956 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001606/0.2095, allocations: 1.076 MB / 0.5966 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.2096, allocations: 7.938 kB / 0.5966 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002833/0.2099, allocations: 51.8 kB / 0.5967 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002074/0.2102, allocations: 71.8 kB / 0.5967 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005728/0.2107, allocations: 206.3 kB / 0.5969 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.2109, allocations: 147.6 kB / 0.5971 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2111, allocations: 21.11 kB / 0.5971 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.2112, allocations: 59.72 kB / 0.5972 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.2113, allocations: 71.69 kB / 0.5972 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.2113, allocations: 4 kB / 0.5972 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.2114, allocations: 71.94 kB / 0.5973 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.774e-05/0.2115, allocations: 39.91 kB / 0.5973 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.2116, allocations: 63.55 kB / 0.5974 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.2118, allocations: 195.7 kB / 0.5976 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2119, allocations: 0 / 0.5976 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2119, allocations: 0 / 0.5976 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.2119, allocations: 0 / 0.5976 GB, free: 6.02 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.0006241/0.2125, allocations: 496.3 kB / 0.5981 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2125, allocations: 8.031 kB / 0.5981 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.822e-05/0.2126, allocations: 16.75 kB / 0.5981 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.2129, allocations: 260.8 kB / 0.5983 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2129, allocations: 384 / 0.5983 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.2129, allocations: 8.125 kB / 0.5983 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.2131, allocations: 88.23 kB / 0.5984 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.2131, allocations: 3.938 kB / 0.5984 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2132, allocations: 4 kB / 0.5984 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.2132, allocations: 4 kB / 0.5984 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.2133, allocations: 35.91 kB / 0.5985 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004786/0.2138, allocations: 364.6 kB / 0.5988 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.214, allocations: 86.7 kB / 0.5989 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.224e-05/0.2141, allocations: 28.84 kB / 0.5989 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.2141, allocations: 8 kB / 0.5989 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.2144, allocations: 83.36 kB / 0.599 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.2144, allocations: 0 / 0.599 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003635/0.2148, allocations: 141.4 kB / 0.5991 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.2149, allocations: 106.8 kB / 0.5992 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000263/0.2151, allocations: 263.7 kB / 0.5995 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.2151, allocations: 25.7 kB / 0.5995 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.2152, allocations: 120 kB / 0.5996 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.541e-05/0.2153, allocations: 15.81 kB / 0.5997 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.2153, allocations: 37.69 kB / 0.5997 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.2154, allocations: 326.8 kB / 0.6 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.457e-05/0.2155, allocations: 23.98 kB / 0.6 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.2156, allocations: 76.27 kB / 0.6001 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2158, allocations: 77.94 kB / 0.6002 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2158, allocations: 0 / 0.6002 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002195/0.216, allocations: 109.4 kB / 0.6003 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.216, allocations: 8 kB / 0.6003 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2161, allocations: 0 / 0.6003 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2161, allocations: 192 / 0.6003 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.844e-05/0.2162, allocations: 15.98 kB / 0.6003 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2162, allocations: 3.938 kB / 0.6003 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.2163, allocations: 19.91 kB / 0.6003 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.2163, allocations: 3.984 kB / 0.6003 GB, free: 2.938 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.0001223/0.2164, allocations: 141.8 kB / 0.6005 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.2165, allocations: 15.81 kB / 0.6005 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.2165, allocations: 25.34 kB / 0.6005 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.2165, allocations: 0 / 0.6005 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2165, allocations: 3.984 kB / 0.6005 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.2165, allocations: 3.938 kB / 0.6005 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.2167, allocations: 229.5 kB / 0.6007 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2167, allocations: 0 / 0.6007 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.212e-05/0.2168, allocations: 7.938 kB / 0.6007 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2168, allocations: 0 / 0.6007 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2168, allocations: 4 kB / 0.6007 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.2168, allocations: 4 kB / 0.6007 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2168, allocations: 0 / 0.6007 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.2171, allocations: 136.8 kB / 0.6009 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.933e-05/0.2171, allocations: 97 kB / 0.601 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.2172, allocations: 0 / 0.601 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/0.2172, allocations: 8 kB / 0.601 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.2173, allocations: 7.984 kB / 0.601 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.2173, allocations: 7.938 kB / 0.601 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000162/0.2175, allocations: 196.6 kB / 0.6012 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2175, allocations: 0 / 0.6012 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002682/0.2177, allocations: 43.89 kB / 0.6012 GB, free: 1.926 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.001029/0.2188, allocations: 428.8 kB / 0.6016 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002271/0.219, allocations: 71.95 kB / 0.6017 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.219, allocations: 0 / 0.6017 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.182e-05/0.2191, allocations: 35.92 kB / 0.6017 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002896/0.2194, allocations: 39.89 kB / 0.6018 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005154/0.2199, allocations: 322.9 kB / 0.6021 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.2202, allocations: 0.7279 MB / 0.6028 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.434e-05/0.2203, allocations: 25.38 kB / 0.6028 GB, free: 404 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.2203, allocations: 27.42 kB / 0.6028 GB, free: 376 kB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.2203, allocations: 0 / 0.6028 GB, free: 376 kB / 0.4981 GB Notification: Performance of Templates: time 0.2535/0.4738, allocations: 2.497 MB / 0.6053 GB, free: 43.41 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)