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.001668/0.001669, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001843/0.001844, allocations: 189.7 kB / 16.14 MB, free: 6.703 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.402/1.402, allocations: 205.1 MB / 222 MB, free: 4.957 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.636/1.636, allocations: 292.3 MB / 0.5484 GB, free: 13.71 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.001345/0.001345, allocations: 71.2 kB / 0.6708 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2111, allocations: 114.5 MB / 0.7827 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003354/0.2146, allocations: 1.828 MB / 0.7844 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001451/0.216, allocations: 1.031 MB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.117e-05/0.2161, allocations: 0 / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.2164, allocations: 51.8 kB / 0.7855 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.2166, allocations: 67.75 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.2171, allocations: 174.8 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000166/0.2173, allocations: 143.6 kB / 0.7859 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2174, allocations: 17.11 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.467e-05/0.2175, allocations: 59.7 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.2176, allocations: 59.75 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.2176, allocations: 4 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.2177, allocations: 55.97 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.2178, allocations: 47.77 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.067e-05/0.2179, allocations: 51.61 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002348/0.2181, allocations: 199.7 kB / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2181, allocations: 0 / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.32e-07/0.2182, allocations: 0 / 0.7863 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.2182, allocations: 0 / 0.7863 GB, free: 10.24 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.0006276/0.2188, allocations: 496.3 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.2188, allocations: 12.03 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.2189, allocations: 20.75 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.2192, allocations: 244.9 kB / 0.7871 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.2192, allocations: 4.375 kB / 0.7871 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.2192, allocations: 16.12 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.2194, allocations: 96.16 kB / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.2194, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.2195, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.2195, allocations: 0 / 0.7872 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.2196, allocations: 35.98 kB / 0.7872 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.2201, allocations: 364.6 kB / 0.7876 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.2203, allocations: 90.69 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.2204, allocations: 28.84 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.2204, allocations: 0 / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000192/0.2206, allocations: 87.38 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.2206, allocations: 0 / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003358/0.2209, allocations: 133.4 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.221, allocations: 110.8 kB / 0.788 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.2212, allocations: 267.4 kB / 0.7883 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.2213, allocations: 29.7 kB / 0.7883 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.283e-05/0.2213, allocations: 120 kB / 0.7884 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.2214, allocations: 19.81 kB / 0.7884 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.35e-05/0.2214, allocations: 25.7 kB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2215, allocations: 334.8 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.829e-05/0.2216, allocations: 23.98 kB / 0.7888 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.7e-05/0.2217, allocations: 76.14 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.2219, allocations: 70.02 kB / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2219, allocations: 0 / 0.7889 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002079/0.2221, allocations: 125.4 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.2221, allocations: 4 kB / 0.789 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2221, allocations: 4 kB / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2221, allocations: 0 / 0.7891 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.848e-05/0.2222, allocations: 8 kB / 0.7891 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2222, allocations: 4 kB / 0.7891 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.2223, allocations: 15.91 kB / 0.7891 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.2223, allocations: 8.016 kB / 0.7891 GB, free: 7.152 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.0001201/0.2224, allocations: 146.5 kB / 0.7892 GB, free: 7 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.2225, allocations: 15.81 kB / 0.7892 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.548e-05/0.2225, allocations: 17.39 kB / 0.7893 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.2225, allocations: 7.938 kB / 0.7893 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.2226, allocations: 0 / 0.7893 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2226, allocations: 3.938 kB / 0.7893 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001711/0.2227, allocations: 221.5 kB / 0.7895 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2228, allocations: 8 kB / 0.7895 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.2228, allocations: 8 kB / 0.7895 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2228, allocations: 0 / 0.7895 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2228, allocations: 3.984 kB / 0.7895 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2228, allocations: 0 / 0.7895 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2228, allocations: 4 kB / 0.7895 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.2231, allocations: 140.8 kB / 0.7896 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.74e-05/0.2231, allocations: 96.92 kB / 0.7897 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.2232, allocations: 0 / 0.7897 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.497e-05/0.2232, allocations: 8 kB / 0.7897 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.2233, allocations: 11.98 kB / 0.7897 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.2233, allocations: 3.938 kB / 0.7898 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001568/0.2235, allocations: 200.5 kB / 0.7899 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2235, allocations: 3.938 kB / 0.7899 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002273/0.2237, allocations: 28 kB / 0.79 GB, free: 6.145 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.001015/0.2247, allocations: 428.7 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.2249, allocations: 67.97 kB / 0.7904 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.225, allocations: 4 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.304e-05/0.2251, allocations: 39.91 kB / 0.7905 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.2253, allocations: 31.98 kB / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/0.2258, allocations: 324.7 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.2261, allocations: 0.7165 MB / 0.7915 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.953e-05/0.2262, allocations: 29.38 kB / 0.7916 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.2262, allocations: 23.42 kB / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2262, allocations: 0 / 0.7916 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of Templates: time 0.00499/0.2312, allocations: 2.445 MB / 0.794 GB, free: 2.18 MB / 0.6075 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)