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.001025/0.001025, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 197.9 kB / 16.53 MB, free: 6.668 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.278/1.278, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.597/1.597, allocations: 292.3 MB / 0.5489 GB, free: 12.81 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.001373/0.001373, allocations: 70.7 kB / 0.6715 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1893, allocations: 114.6 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.003118/0.1925, allocations: 1.774 MB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.1943, allocations: 1.02 MB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.835e-05/0.1944, allocations: 7.938 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.1947, allocations: 55.73 kB / 0.7861 GB, free: 10.59 MB / 0.6075 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.000215/0.195, allocations: 75.66 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004953/0.1955, allocations: 201.8 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001852/0.1957, allocations: 147.6 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.425e-05/0.1958, allocations: 21.11 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.1959, allocations: 59.77 kB / 0.7866 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.279e-05/0.196, allocations: 67.75 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.196, allocations: 8 kB / 0.7867 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001307/0.1961, allocations: 63.91 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.731e-05/0.1962, allocations: 47.83 kB / 0.7868 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.1963, allocations: 51.67 kB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002494/0.1965, allocations: 199.7 kB / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1966, allocations: 0 / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1966, allocations: 0 / 0.7871 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.1966, allocations: 0 / 0.7871 GB, free: 9.676 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.0006251/0.1972, allocations: 0.4924 MB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.1972, allocations: 8.031 kB / 0.7875 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.1973, allocations: 16.75 kB / 0.7876 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1976, allocations: 245 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1976, allocations: 4.375 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.1976, allocations: 8.125 kB / 0.7878 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.1978, allocations: 100.2 kB / 0.7879 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.1978, allocations: 7.984 kB / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1978, allocations: 0 / 0.7879 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.1979, allocations: 4 kB / 0.7879 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.866e-05/0.198, allocations: 27.98 kB / 0.7879 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.1985, allocations: 360.5 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.1987, allocations: 94.59 kB / 0.7884 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.1988, allocations: 32.84 kB / 0.7884 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.1988, allocations: 4 kB / 0.7884 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.199, allocations: 83.39 kB / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.704e-06/0.199, allocations: 0 / 0.7885 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003296/0.1994, allocations: 137.5 kB / 0.7886 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.1994, allocations: 110.8 kB / 0.7887 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.1997, allocations: 263.5 kB / 0.789 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.1997, allocations: 29.7 kB / 0.789 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.654e-05/0.1998, allocations: 120 kB / 0.7891 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.1998, allocations: 19.78 kB / 0.7891 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.1999, allocations: 25.72 kB / 0.7892 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.2, allocations: 334.8 kB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.2001, allocations: 23.98 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.282e-05/0.2002, allocations: 76.22 kB / 0.7896 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.2003, allocations: 69.69 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2003, allocations: 0 / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002149/0.2006, allocations: 113.4 kB / 0.7897 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.2006, allocations: 8 kB / 0.7898 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2006, allocations: 4.031 kB / 0.7898 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.2006, allocations: 0 / 0.7898 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.535e-05/0.2007, allocations: 12 kB / 0.7898 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.2007, allocations: 3.984 kB / 0.7898 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.256e-05/0.2008, allocations: 15.88 kB / 0.7898 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2008, allocations: 4 kB / 0.7898 GB, free: 6.59 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.0001176/0.2009, allocations: 138.4 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.2009, allocations: 15.81 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.201, allocations: 29.39 kB / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.201, allocations: 0 / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.201, allocations: 0 / 0.79 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.201, allocations: 3.938 kB / 0.79 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.2012, allocations: 225.5 kB / 0.7902 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2012, allocations: 0 / 0.7902 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.2013, allocations: 11.98 kB / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2013, allocations: 0 / 0.7902 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.2013, allocations: 4 kB / 0.7902 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.2013, allocations: 4.188 kB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2013, allocations: 0 / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002428/0.2015, allocations: 153.1 kB / 0.7904 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.02e-05/0.2016, allocations: 89.02 kB / 0.7904 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.107e-05/0.2016, allocations: 7.984 kB / 0.7904 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.695e-05/0.2017, allocations: 7.984 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.2018, allocations: 4 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.2018, allocations: 11.92 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000171/0.202, allocations: 188.6 kB / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.202, allocations: 4 kB / 0.7907 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002379/0.2022, allocations: 39.91 kB / 0.7907 GB, free: 5.574 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.0009237/0.2031, allocations: 427 kB / 0.7911 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.2034, allocations: 83.81 kB / 0.7912 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2034, allocations: 0 / 0.7912 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-05/0.2035, allocations: 31.98 kB / 0.7912 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.2038, allocations: 42.88 kB / 0.7912 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.2043, allocations: 298.8 kB / 0.7915 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.2046, allocations: 0.7201 MB / 0.7922 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.853e-05/0.2047, allocations: 25.31 kB / 0.7923 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.2047, allocations: 27.42 kB / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2047, allocations: 0 / 0.7923 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of Templates: time 0.005423/0.2101, allocations: 2.537 MB / 0.7948 GB, free: 1.531 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)