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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 292.3 MB / 308.1 MB, free: 4.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001181/0.001181, allocations: 180.5 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009432/0.0009434, allocations: 103.9 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 59.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2051, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002941/0.208, allocations: 1.829 MB / 0.984 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001492/0.2096, allocations: 1.027 MB / 0.985 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.2097, allocations: 3.938 kB / 0.985 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.2099, allocations: 51.88 kB / 0.9851 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002033/0.2102, allocations: 75.72 kB / 0.9851 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005073/0.2107, allocations: 179.7 kB / 0.9853 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.2109, allocations: 135.6 kB / 0.9854 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.733e-05/0.211, allocations: 21.11 kB / 0.9854 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.2111, allocations: 63.64 kB / 0.9855 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.9e-05/0.2112, allocations: 63.75 kB / 0.9856 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2112, allocations: 0 / 0.9856 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.2113, allocations: 63.91 kB / 0.9856 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 7.615e-05/0.2114, allocations: 39.89 kB / 0.9857 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 7.261e-05/0.2115, allocations: 51.61 kB / 0.9857 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.2118, allocations: 191.7 kB / 0.9859 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2118, allocations: 0 / 0.9859 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.2118, allocations: 0 / 0.9859 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2118, allocations: 0 / 0.9859 GB, free: 6.594 MB / 0.7136 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.0005983/0.2124, allocations: 496.3 kB / 0.9864 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2124, allocations: 11.97 kB / 0.9864 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.2125, allocations: 16.75 kB / 0.9864 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002666/0.2128, allocations: 245 kB / 0.9866 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.2128, allocations: 4.359 kB / 0.9866 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.2128, allocations: 8.125 kB / 0.9866 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.213, allocations: 100.1 kB / 0.9867 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.213, allocations: 4 kB / 0.9867 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.213, allocations: 0 / 0.9867 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.2131, allocations: 4 kB / 0.9867 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.2132, allocations: 31.97 kB / 0.9868 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.2136, allocations: 364.5 kB / 0.9871 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.2139, allocations: 94.66 kB / 0.9872 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.846e-05/0.2139, allocations: 36.83 kB / 0.9872 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.214, allocations: 0 / 0.9872 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.2142, allocations: 83.41 kB / 0.9873 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.2142, allocations: 0 / 0.9873 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0003269/0.2145, allocations: 141.4 kB / 0.9875 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.2146, allocations: 106.8 kB / 0.9876 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.2148, allocations: 259.7 kB / 0.9878 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.2148, allocations: 29.7 kB / 0.9878 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.093e-05/0.2149, allocations: 120 kB / 0.988 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.2149, allocations: 23.78 kB / 0.988 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.387e-05/0.215, allocations: 21.72 kB / 0.988 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2151, allocations: 334.8 kB / 0.9883 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.702e-05/0.2152, allocations: 27.98 kB / 0.9883 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.486e-05/0.2153, allocations: 72.22 kB / 0.9884 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.2154, allocations: 69.69 kB / 0.9885 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2154, allocations: 0 / 0.9885 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.2156, allocations: 109.4 kB / 0.9886 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.2156, allocations: 4 kB / 0.9886 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2157, allocations: 4.031 kB / 0.9886 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2157, allocations: 0 / 0.9886 GB, free: 3.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.558e-05/0.2158, allocations: 20.03 kB / 0.9886 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2158, allocations: 0 / 0.9886 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.421e-05/0.2159, allocations: 19.77 kB / 0.9886 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.2159, allocations: 4 kB / 0.9886 GB, free: 3.516 MB / 0.7136 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.0001205/0.216, allocations: 150.4 kB / 0.9888 GB, free: 3.359 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.216, allocations: 19.75 kB / 0.9888 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.2161, allocations: 25.39 kB / 0.9888 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.2161, allocations: 4 kB / 0.9888 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.2161, allocations: 0 / 0.9888 GB, free: 3.309 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2161, allocations: 3.938 kB / 0.9888 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.2163, allocations: 217.6 kB / 0.989 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2163, allocations: 0 / 0.989 GB, free: 3.043 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.2163, allocations: 7.984 kB / 0.989 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2163, allocations: 0 / 0.989 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.2164, allocations: 4.188 kB / 0.989 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2164, allocations: 0 / 0.989 GB, free: 3.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2164, allocations: 7.938 kB / 0.9891 GB, free: 3.023 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005103/0.2169, allocations: 0.7486 MB / 0.9898 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.2169, allocations: 88.92 kB / 0.9899 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.217, allocations: 7.938 kB / 0.9899 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.803e-05/0.217, allocations: 0 / 0.9899 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.2171, allocations: 11.98 kB / 0.9899 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.2171, allocations: 8 kB / 0.9899 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001597/0.2173, allocations: 196.6 kB / 0.9901 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2173, allocations: 0 / 0.9901 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000327/0.2176, allocations: 32 kB / 0.9901 GB, free: 1.859 MB / 0.7136 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.0008497/0.2185, allocations: 440.9 kB / 0.9905 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002009/0.2187, allocations: 67.95 kB / 0.9906 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2187, allocations: 64 / 0.9906 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.306e-05/0.2188, allocations: 39.92 kB / 0.9906 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002632/0.2191, allocations: 31.34 kB / 0.9907 GB, free: 1.398 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.2196, allocations: 451.5 kB / 0.9911 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002791/0.2199, allocations: 0.732 MB / 0.9918 GB, free: 168 kB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.967e-05/0.22, allocations: 25.08 kB / 0.9918 GB, free: 140 kB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.22, allocations: 19.44 kB / 0.9919 GB, free: 124 kB / 0.7136 GB Notification: Performance of SimCode: time 3.41e-07/0.22, allocations: 0 / 0.9919 GB, free: 124 kB / 0.7136 GB Notification: Performance of Templates: time 0.005988/0.226, allocations: 2.487 MB / 0.9943 GB, free: 13.65 MB / 0.7292 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)