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.001244/0.001244, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001423/0.001423, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15 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.8548/0.8548, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.89 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3474, allocations: 82.03 MB / 0.5957 GB, free: 16.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00294/0.3504, allocations: 1.776 MB / 0.5974 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3519, allocations: 1.098 MB / 0.5985 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.531e-05/0.352, allocations: 3.938 kB / 0.5985 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003266/0.3523, allocations: 55.73 kB / 0.5985 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.3526, allocations: 81.14 kB / 0.5986 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006122/0.3532, allocations: 219 kB / 0.5988 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.3534, allocations: 151.6 kB / 0.599 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3535, allocations: 22.17 kB / 0.599 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.743e-05/0.3536, allocations: 63.7 kB / 0.5991 GB, free: 12.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.901e-05/0.3537, allocations: 68.62 kB / 0.5991 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.3538, allocations: 4 kB / 0.5991 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001591/0.3539, allocations: 77.44 kB / 0.5992 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.354, allocations: 35.91 kB / 0.5992 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.273e-05/0.3541, allocations: 55.61 kB / 0.5993 GB, free: 12.47 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.3544, allocations: 199.2 kB / 0.5995 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3544, allocations: 0.7812 kB / 0.5995 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3544, allocations: 0 / 0.5995 GB, free: 12.28 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.3544, allocations: 5.469 kB / 0.5995 GB, free: 12.27 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.0005879/0.355, allocations: 490.2 kB / 0.6 GB, free: 11.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.355, allocations: 8.031 kB / 0.6 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.796e-05/0.3551, allocations: 18.25 kB / 0.6 GB, free: 11.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3553, allocations: 256.8 kB / 0.6002 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3554, allocations: 4.375 kB / 0.6002 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.3554, allocations: 8.812 kB / 0.6002 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.3556, allocations: 97.19 kB / 0.6003 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.3556, allocations: 2.938 kB / 0.6003 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.3556, allocations: 0 / 0.6003 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.3556, allocations: 0 / 0.6003 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3558, allocations: 35.92 kB / 0.6004 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.3562, allocations: 356.6 kB / 0.6007 GB, free: 10.87 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.3564, allocations: 92.03 kB / 0.6008 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.355e-05/0.3565, allocations: 38.12 kB / 0.6008 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3565, allocations: 0 / 0.6008 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.3567, allocations: 76.72 kB / 0.6009 GB, free: 10.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.3567, allocations: 0 / 0.6009 GB, free: 10.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003296/0.357, allocations: 146.3 kB / 0.601 GB, free: 10.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.3571, allocations: 108.2 kB / 0.6011 GB, free: 10.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002018/0.3573, allocations: 263 kB / 0.6014 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.3573, allocations: 25.7 kB / 0.6014 GB, free: 10.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.3574, allocations: 121.4 kB / 0.6015 GB, free: 9.953 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.3574, allocations: 15.75 kB / 0.6016 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.064e-05/0.3574, allocations: 29.7 kB / 0.6016 GB, free: 9.902 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.3575, allocations: 340.1 kB / 0.6019 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.557e-05/0.3576, allocations: 20 kB / 0.6019 GB, free: 9.543 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.93e-05/0.3577, allocations: 65.67 kB / 0.602 GB, free: 9.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.3578, allocations: 79.27 kB / 0.6021 GB, free: 9.383 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3578, allocations: 3.984 kB / 0.6021 GB, free: 9.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002082/0.358, allocations: 122.1 kB / 0.6022 GB, free: 9.254 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.3581, allocations: 9.312 kB / 0.6022 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3581, allocations: 0 / 0.6022 GB, free: 9.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.3581, allocations: 4 kB / 0.6022 GB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3582, allocations: 9.344 kB / 0.6022 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.3582, allocations: 11.92 kB / 0.6022 GB, free: 9.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.259e-05/0.3583, allocations: 7.938 kB / 0.6022 GB, free: 9.215 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.3583, allocations: 5.531 kB / 0.6022 GB, free: 9.211 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 0.0001398/0.3585, allocations: 143.2 kB / 0.6024 GB, free: 9.062 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.3585, allocations: 15.81 kB / 0.6024 GB, free: 9.047 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/0.3586, allocations: 18.73 kB / 0.6024 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.3586, allocations: 4 kB / 0.6024 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/0.3586, allocations: 0 / 0.6024 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3586, allocations: 5.312 kB / 0.6024 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.3588, allocations: 225.4 kB / 0.6026 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3588, allocations: 0 / 0.6026 GB, free: 8.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/0.3588, allocations: 15.92 kB / 0.6026 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3589, allocations: 1.375 kB / 0.6026 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3589, allocations: 0 / 0.6026 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3589, allocations: 0 / 0.6026 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3589, allocations: 192 / 0.6026 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.3591, allocations: 146.9 kB / 0.6028 GB, free: 8.574 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.3592, allocations: 88.95 kB / 0.6029 GB, free: 8.469 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.3592, allocations: 9.531 kB / 0.6029 GB, free: 8.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.173e-05/0.3593, allocations: 3.984 kB / 0.6029 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.664e-05/0.3593, allocations: 4 kB / 0.6029 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3593, allocations: 15.92 kB / 0.6029 GB, free: 8.438 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.3595, allocations: 193.9 kB / 0.6031 GB, free: 8.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3595, allocations: 0 / 0.6031 GB, free: 8.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002557/0.3598, allocations: 31.91 kB / 0.6031 GB, free: 8.219 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.001073/0.3608, allocations: 435.2 kB / 0.6035 GB, free: 7.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002288/0.3611, allocations: 67.95 kB / 0.6036 GB, free: 7.926 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3611, allocations: 4.75 kB / 0.6036 GB, free: 7.922 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.3612, allocations: 36.73 kB / 0.6036 GB, free: 7.887 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.3615, allocations: 38.64 kB / 0.6037 GB, free: 7.852 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005054/0.362, allocations: 292.4 kB / 0.6039 GB, free: 7.543 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.3622, allocations: 0.722 MB / 0.6046 GB, free: 6.797 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.98e-05/0.3623, allocations: 26.09 kB / 0.6047 GB, free: 6.773 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.264e-05/0.3623, allocations: 27.42 kB / 0.6047 GB, free: 6.746 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3623, allocations: 1.438 kB / 0.6047 GB, free: 6.746 MB / 446.1 MB Notification: Performance of Templates: time 0.005071/0.3674, allocations: 2.547 MB / 0.6072 GB, free: 4.273 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)