Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001376/0.001376, allocations: 104 kB / 16.35 MB, free: 5.879 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.001509/0.001509, allocations: 195.1 kB / 17.29 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 67.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2207, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003995/0.2247, allocations: 1.766 MB / 0.7865 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.2267, allocations: 1.034 MB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.2268, allocations: 0 / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.2271, allocations: 63.67 kB / 0.7876 GB, free: 300 kB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.2274, allocations: 71.67 kB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.228, allocations: 206.8 kB / 0.7878 GB, free: 24 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.3876/0.6155, allocations: 135.8 kB / 0.788 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/0.6157, allocations: 24.34 kB / 0.788 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.6158, allocations: 65.89 kB / 0.788 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.616, allocations: 58.41 kB / 0.7881 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.616, allocations: 7.781 kB / 0.7881 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.6163, allocations: 75.81 kB / 0.7882 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.675e-05/0.6164, allocations: 36.52 kB / 0.7882 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.924e-05/0.6165, allocations: 63.72 kB / 0.7883 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.6168, allocations: 202.6 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.6168, allocations: 0 / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6168, allocations: 3.938 kB / 0.7885 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.6168, allocations: 0 / 0.7885 GB, free: 46.46 MB / 0.6544 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.0005411/0.6173, allocations: 487.3 kB / 0.7889 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 2.891e-05/0.6174, allocations: 10.03 kB / 0.7889 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.6174, allocations: 20.44 kB / 0.789 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.6177, allocations: 248.7 kB / 0.7892 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.6177, allocations: 4.594 kB / 0.7892 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.6177, allocations: 11.77 kB / 0.7892 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.6179, allocations: 97.81 kB / 0.7893 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.6179, allocations: 2.344 kB / 0.7893 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.6179, allocations: 2.688 kB / 0.7893 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.618, allocations: 1.719 kB / 0.7893 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.519e-05/0.6181, allocations: 36.52 kB / 0.7894 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.6185, allocations: 358.3 kB / 0.7897 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.6187, allocations: 85.62 kB / 0.7898 GB, free: 45.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.529e-05/0.6187, allocations: 31.67 kB / 0.7898 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.6188, allocations: 1.594 kB / 0.7898 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002177/0.619, allocations: 81.69 kB / 0.7899 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.619, allocations: 7.781 kB / 0.7899 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8): time 0.0003151/0.6193, allocations: 147.3 kB / 0.79 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.89e-05/0.6194, allocations: 104.8 kB / 0.7901 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.6196, allocations: 263.5 kB / 0.7904 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.6196, allocations: 31.95 kB / 0.7904 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.194e-05/0.6197, allocations: 121.2 kB / 0.7905 GB, free: 45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.935e-05/0.6197, allocations: 18.94 kB / 0.7906 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.6197, allocations: 29.3 kB / 0.7906 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.488e-05/0.6198, allocations: 333.2 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.6199, allocations: 27.12 kB / 0.7909 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.204e-05/0.62, allocations: 69.3 kB / 0.791 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.6201, allocations: 70.73 kB / 0.7911 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.6202, allocations: 0 / 0.7911 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002019/0.6204, allocations: 115.6 kB / 0.7912 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.6204, allocations: 6.406 kB / 0.7912 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6204, allocations: 0 / 0.7912 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.6204, allocations: 0 / 0.7912 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.6205, allocations: 25.02 kB / 0.7912 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.6205, allocations: 0 / 0.7912 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.161e-05/0.6206, allocations: 5.25 kB / 0.7912 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.6206, allocations: 2.656 kB / 0.7912 GB, free: 44.57 MB / 0.6544 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 8.659e-05/0.6207, allocations: 147.6 kB / 0.7913 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.58e-05/0.6207, allocations: 15.69 kB / 0.7914 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.353e-05/0.6208, allocations: 15.28 kB / 0.7914 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.6208, allocations: 4.781 kB / 0.7914 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.6208, allocations: 0.5 kB / 0.7914 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.6208, allocations: 0 / 0.7914 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.6209, allocations: 238.3 kB / 0.7916 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.6209, allocations: 5.031 kB / 0.7916 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.621, allocations: 7.875 kB / 0.7916 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.621, allocations: 0 / 0.7916 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.621, allocations: 2.625 kB / 0.7916 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.621, allocations: 8.828 kB / 0.7916 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.621, allocations: 0 / 0.7916 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.6212, allocations: 140.2 kB / 0.7918 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.6213, allocations: 98 kB / 0.7919 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.6213, allocations: 3.219 kB / 0.7919 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.658e-05/0.6214, allocations: 4.906 kB / 0.7919 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.6214, allocations: 10.42 kB / 0.7919 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.6215, allocations: 2.625 kB / 0.7919 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001409/0.6216, allocations: 194.4 kB / 0.7921 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6216, allocations: 0 / 0.7921 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002369/0.6219, allocations: 40.47 kB / 0.7921 GB, free: 43.98 MB / 0.6544 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.0009822/0.6228, allocations: 417.2 kB / 0.7925 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000193/0.623, allocations: 69.56 kB / 0.7926 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6231, allocations: 0.5 kB / 0.7926 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.6231, allocations: 35.17 kB / 0.7926 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.6234, allocations: 49.98 kB / 0.7926 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.6238, allocations: 296.9 kB / 0.7929 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.624, allocations: 0.7184 MB / 0.7936 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.766e-05/0.6241, allocations: 26.03 kB / 0.7937 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.941e-05/0.6241, allocations: 25.02 kB / 0.7937 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of SimCode: time 3.3e-07/0.6241, allocations: 0 / 0.7937 GB, free: 43.03 MB / 0.6544 GB Notification: Performance of Templates: time 0.005303/0.6294, allocations: 2.533 MB / 0.7962 GB, free: 42.9 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)