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.0007409/0.0007409, 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.005291/0.005291, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.375/1.375, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.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.753/1.753, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.00052/0.00052, allocations: 18.48 kB / 0.6743 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1977, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.001965/0.1997, allocations: 1.478 MB / 0.7893 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2012, allocations: 0.9998 MB / 0.7903 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.627e-05/0.2014, allocations: 3.938 kB / 0.7903 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.2017, allocations: 51.8 kB / 0.7903 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.2019, allocations: 79.73 kB / 0.7904 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005875/0.2025, allocations: 178.2 kB / 0.7906 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001985/0.2027, allocations: 135.6 kB / 0.7907 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2028, allocations: 17.12 kB / 0.7907 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.2029, allocations: 55.72 kB / 0.7908 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.203, allocations: 59.75 kB / 0.7908 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.2031, allocations: 4 kB / 0.7909 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.2032, allocations: 59.95 kB / 0.7909 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.229e-05/0.2033, allocations: 39.78 kB / 0.7909 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/0.2034, allocations: 77.36 kB / 0.791 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.2036, allocations: 191.6 kB / 0.7912 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2037, allocations: 4 kB / 0.7912 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2037, allocations: 0 / 0.7912 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.2037, allocations: 0 / 0.7912 GB, free: 8.129 MB / 0.6075 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.0005593/0.2042, allocations: 460.5 kB / 0.7916 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2043, allocations: 11.97 kB / 0.7917 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.165e-05/0.2043, allocations: 20.75 kB / 0.7917 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002695/0.2046, allocations: 252.8 kB / 0.7919 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.2047, allocations: 12.36 kB / 0.7919 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.2047, allocations: 3.938 kB / 0.7919 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.2049, allocations: 96.17 kB / 0.792 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.2049, allocations: 0 / 0.792 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.2049, allocations: 4 kB / 0.792 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.2049, allocations: 4 kB / 0.792 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.205, allocations: 35.97 kB / 0.7921 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.2056, allocations: 352.7 kB / 0.7924 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.2058, allocations: 86.7 kB / 0.7925 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.346e-05/0.2059, allocations: 32.84 kB / 0.7925 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.2059, allocations: 0 / 0.7925 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.2061, allocations: 83.36 kB / 0.7926 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/0.2061, allocations: 0 / 0.7926 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.00035/0.2065, allocations: 149.4 kB / 0.7927 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.2065, allocations: 106.8 kB / 0.7928 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.2068, allocations: 275.3 kB / 0.7931 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.2068, allocations: 29.7 kB / 0.7931 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.2069, allocations: 116.1 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2069, allocations: 15.81 kB / 0.7933 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.2069, allocations: 17.72 kB / 0.7933 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.207, allocations: 326.8 kB / 0.7936 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.2071, allocations: 27.98 kB / 0.7936 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.404e-05/0.2072, allocations: 72.22 kB / 0.7937 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.2074, allocations: 73.67 kB / 0.7938 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.2074, allocations: 0 / 0.7938 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002122/0.2076, allocations: 109.4 kB / 0.7939 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2076, allocations: 15.97 kB / 0.7939 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2076, allocations: 0 / 0.7939 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2076, allocations: 48 / 0.7939 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.068e-05/0.2077, allocations: 19.97 kB / 0.7939 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.2078, allocations: 0 / 0.7939 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.2078, allocations: 19.78 kB / 0.7939 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.2078, allocations: 4 kB / 0.7939 GB, free: 5.074 MB / 0.6075 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.0001212/0.208, allocations: 138.5 kB / 0.794 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.208, allocations: 19.81 kB / 0.7941 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.295e-05/0.2081, allocations: 29.33 kB / 0.7941 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.2081, allocations: 0 / 0.7941 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2081, allocations: 0 / 0.7941 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.2081, allocations: 7.938 kB / 0.7941 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2083, allocations: 217.6 kB / 0.7943 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2083, allocations: 0 / 0.7943 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.2083, allocations: 7.984 kB / 0.7943 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2083, allocations: 0 / 0.7943 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.2084, allocations: 8 kB / 0.7943 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2084, allocations: 4 kB / 0.7943 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2084, allocations: 4 kB / 0.7943 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.2086, allocations: 136.8 kB / 0.7945 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.2087, allocations: 96.92 kB / 0.7946 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.2087, allocations: 3.984 kB / 0.7946 GB, free: 4.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.795e-05/0.2088, allocations: 4 kB / 0.7946 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.2088, allocations: 12.11 kB / 0.7946 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2088, allocations: 11.94 kB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001654/0.209, allocations: 200.5 kB / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.209, allocations: 0 / 0.7948 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002543/0.2093, allocations: 31.98 kB / 0.7948 GB, free: 4.062 MB / 0.6075 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.0009241/0.2102, allocations: 430.5 kB / 0.7952 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002048/0.2104, allocations: 63.97 kB / 0.7953 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2104, allocations: 0 / 0.7953 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/0.2105, allocations: 43.97 kB / 0.7953 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.2109, allocations: 36.28 kB / 0.7954 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.2115, allocations: 330 kB / 0.7957 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.2118, allocations: 0.7243 MB / 0.7964 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 9.352e-05/0.2119, allocations: 17.08 kB / 0.7964 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.212, allocations: 23.44 kB / 0.7964 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.212, allocations: 0 / 0.7964 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of Templates: time 0.006028/0.218, allocations: 2.406 MB / 0.7988 GB, free: 136 kB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) Environment - environmentSimulation: