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.004809/0.004809, allocations: 101.7 kB / 15.73 MB, free: 6.047 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.001049/0.00105, allocations: 199 kB / 16.67 MB, free: 5.977 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 4.344 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.9482/0.9482, allocations: 143 MB / 433.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001111/0.001111, allocations: 63.91 kB / 0.5955 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4055, allocations: 82.03 MB / 0.6756 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.002481/0.4081, allocations: 1.775 MB / 0.6774 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.4097, allocations: 1.094 MB / 0.6784 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.4098, allocations: 4.938 kB / 0.6784 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.4101, allocations: 54.52 kB / 0.6785 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.4103, allocations: 82.17 kB / 0.6786 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.4109, allocations: 226.8 kB / 0.6788 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.4111, allocations: 150.2 kB / 0.6789 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.4113, allocations: 22.98 kB / 0.6789 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.4114, allocations: 68.73 kB / 0.679 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.4115, allocations: 67.78 kB / 0.6791 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.4115, allocations: 6.844 kB / 0.6791 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001548/0.4117, allocations: 68.27 kB / 0.6791 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.395e-05/0.4118, allocations: 38.14 kB / 0.6792 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.476e-05/0.4118, allocations: 60.58 kB / 0.6792 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.4121, allocations: 199.8 kB / 0.6794 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4121, allocations: 0 / 0.6794 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4122, allocations: 0 / 0.6794 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.4122, allocations: 0 / 0.6794 GB, free: 14.62 MB / 0.5137 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.0006466/0.4128, allocations: 497.5 kB / 0.6799 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.4129, allocations: 8.656 kB / 0.6799 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.4129, allocations: 16.19 kB / 0.6799 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.4133, allocations: 256.2 kB / 0.6802 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.4133, allocations: 3.562 kB / 0.6802 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.4133, allocations: 11.69 kB / 0.6802 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.4135, allocations: 95.62 kB / 0.6803 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.4135, allocations: 0 / 0.6803 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.4136, allocations: 0.75 kB / 0.6803 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.615e-05/0.4136, allocations: 5.625 kB / 0.6803 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.4137, allocations: 33.64 kB / 0.6803 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.4142, allocations: 357 kB / 0.6807 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.4144, allocations: 100.9 kB / 0.6808 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/0.4145, allocations: 31.41 kB / 0.6808 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.4145, allocations: 1.031 kB / 0.6808 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.4147, allocations: 83.89 kB / 0.6809 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.4147, allocations: 0 / 0.6809 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0003672/0.4151, allocations: 140.5 kB / 0.681 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.4151, allocations: 112.1 kB / 0.6811 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.4154, allocations: 260.5 kB / 0.6814 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.4154, allocations: 26.83 kB / 0.6814 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.4155, allocations: 117.1 kB / 0.6815 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.4155, allocations: 27.17 kB / 0.6815 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.4156, allocations: 22.06 kB / 0.6815 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.4157, allocations: 340.2 kB / 0.6819 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.225e-05/0.4158, allocations: 25.3 kB / 0.6819 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.4159, allocations: 70.44 kB / 0.682 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.4161, allocations: 72.91 kB / 0.682 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4161, allocations: 0 / 0.682 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.4163, allocations: 116.8 kB / 0.6821 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4163, allocations: 4.469 kB / 0.6821 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4163, allocations: 5.344 kB / 0.6821 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4163, allocations: 1.141 kB / 0.6821 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.672e-05/0.4164, allocations: 17.94 kB / 0.6822 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4165, allocations: 1.094 kB / 0.6822 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.707e-05/0.4165, allocations: 11.16 kB / 0.6822 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.4166, allocations: 3.5 kB / 0.6822 GB, free: 12.11 MB / 0.5137 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.0001468/0.4167, allocations: 141.1 kB / 0.6823 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.4167, allocations: 15.09 kB / 0.6823 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.899e-05/0.4168, allocations: 24.27 kB / 0.6824 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4168, allocations: 2.281 kB / 0.6824 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.4168, allocations: 1.062 kB / 0.6824 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.4169, allocations: 3.938 kB / 0.6824 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.4171, allocations: 222.1 kB / 0.6826 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4171, allocations: 1.094 kB / 0.6826 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.4171, allocations: 12.17 kB / 0.6826 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4171, allocations: 1.094 kB / 0.6826 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.4172, allocations: 1.031 kB / 0.6826 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.4172, allocations: 1.156 kB / 0.6826 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4172, allocations: 4 kB / 0.6826 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002571/0.4174, allocations: 143 kB / 0.6827 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.4175, allocations: 95.45 kB / 0.6828 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.4176, allocations: 5.375 kB / 0.6828 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.983e-05/0.4176, allocations: 6.734 kB / 0.6828 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.4177, allocations: 8.031 kB / 0.6828 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.4177, allocations: 10.55 kB / 0.6828 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002038/0.4179, allocations: 200 kB / 0.683 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4179, allocations: 0 / 0.683 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002616/0.4182, allocations: 33.31 kB / 0.6831 GB, free: 11.33 MB / 0.5137 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.001058/0.4193, allocations: 426.3 kB / 0.6835 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.4195, allocations: 72.11 kB / 0.6835 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4195, allocations: 0 / 0.6835 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.653e-05/0.4196, allocations: 37.58 kB / 0.6836 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.4199, allocations: 54 kB / 0.6836 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.4206, allocations: 288.4 kB / 0.6839 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.4209, allocations: 0.7195 MB / 0.6846 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.638e-05/0.421, allocations: 22.83 kB / 0.6846 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.4211, allocations: 26.36 kB / 0.6847 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4211, allocations: 0 / 0.6847 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of Templates: time 0.005645/0.4267, allocations: 2.562 MB / 0.6872 GB, free: 8.824 MB / 0.5137 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)