Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001701/0.001701, 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.002139/0.00214, allocations: 197.8 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.099/1.099, allocations: 143 MB / 433 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 67.89 kB / 0.5135 GB, free: 12.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1817, allocations: 82.03 MB / 0.5936 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003118/0.1848, allocations: 1.827 MB / 0.5954 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1865, allocations: 1.08 MB / 0.5964 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.621e-05/0.1866, allocations: 11.88 kB / 0.5964 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.1869, allocations: 51.86 kB / 0.5965 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.1872, allocations: 67.75 kB / 0.5966 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.1877, allocations: 198.4 kB / 0.5968 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.1879, allocations: 143.6 kB / 0.5969 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.188, allocations: 21.11 kB / 0.5969 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.397e-05/0.1881, allocations: 51.77 kB / 0.597 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.1882, allocations: 67.69 kB / 0.597 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.1882, allocations: 8 kB / 0.597 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.1884, allocations: 55.97 kB / 0.5971 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.279e-05/0.1885, allocations: 39.83 kB / 0.5971 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.807e-05/0.1885, allocations: 47.67 kB / 0.5972 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.1888, allocations: 203.6 kB / 0.5974 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1889, allocations: 4 kB / 0.5974 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1889, allocations: 0 / 0.5974 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.1889, allocations: 0 / 0.5974 GB, free: 6.191 MB / 0.4981 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.0007713/0.1896, allocations: 480.3 kB / 0.5978 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1897, allocations: 19.97 kB / 0.5978 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.583e-05/0.1898, allocations: 20.75 kB / 0.5979 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.1901, allocations: 237 kB / 0.5981 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.1901, allocations: 8.375 kB / 0.5981 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.1902, allocations: 12.06 kB / 0.5981 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1904, allocations: 96.16 kB / 0.5982 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.1904, allocations: 0 / 0.5982 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1904, allocations: 8 kB / 0.5982 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.1905, allocations: 0 / 0.5982 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1906, allocations: 35.92 kB / 0.5982 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005266/0.1911, allocations: 360.6 kB / 0.5986 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002312/0.1914, allocations: 86.69 kB / 0.5987 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.1914, allocations: 36.84 kB / 0.5987 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.1915, allocations: 0 / 0.5987 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.1917, allocations: 83.38 kB / 0.5988 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.1917, allocations: 0 / 0.5988 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003576/0.1921, allocations: 137.5 kB / 0.5989 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.1921, allocations: 106.8 kB / 0.599 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.1924, allocations: 267.7 kB / 0.5993 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.1924, allocations: 29.69 kB / 0.5993 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.1925, allocations: 116 kB / 0.5994 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1925, allocations: 19.8 kB / 0.5994 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.1926, allocations: 25.72 kB / 0.5995 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1927, allocations: 334.8 kB / 0.5998 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.253e-05/0.1928, allocations: 23.98 kB / 0.5998 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.1929, allocations: 68.28 kB / 0.5999 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.1931, allocations: 73.62 kB / 0.5999 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1931, allocations: 0 / 0.5999 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002189/0.1933, allocations: 113.8 kB / 0.6 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1933, allocations: 7.938 kB / 0.6 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.1933, allocations: 4 kB / 0.6 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1933, allocations: 4.031 kB / 0.6001 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1935, allocations: 15.92 kB / 0.6001 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1935, allocations: 4.078 kB / 0.6001 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.743e-05/0.1935, allocations: 12.11 kB / 0.6001 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1936, allocations: 11.97 kB / 0.6001 GB, free: 3.121 MB / 0.4981 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.0001599/0.1937, allocations: 149.7 kB / 0.6002 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.198e-05/0.1938, allocations: 15.81 kB / 0.6003 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.1938, allocations: 21.39 kB / 0.6003 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.1938, allocations: 4 kB / 0.6003 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1939, allocations: 4 kB / 0.6003 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.1939, allocations: 3.938 kB / 0.6003 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.1941, allocations: 217.5 kB / 0.6005 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1941, allocations: 0 / 0.6005 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.1941, allocations: 11.98 kB / 0.6005 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1941, allocations: 0 / 0.6005 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1941, allocations: 0 / 0.6005 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1942, allocations: 0 / 0.6005 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1942, allocations: 3.938 kB / 0.6005 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002701/0.1944, allocations: 152.8 kB / 0.6007 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.1945, allocations: 89.02 kB / 0.6007 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.1945, allocations: 0 / 0.6007 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.961e-05/0.1946, allocations: 11.98 kB / 0.6007 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.1947, allocations: 0 / 0.6007 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.1947, allocations: 11.92 kB / 0.6008 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001642/0.1949, allocations: 192.6 kB / 0.6009 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.1949, allocations: 0 / 0.6009 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002834/0.1952, allocations: 43.89 kB / 0.601 GB, free: 2.109 MB / 0.4981 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.0009964/0.1962, allocations: 437.3 kB / 0.6014 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.1964, allocations: 67.91 kB / 0.6015 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1964, allocations: 0 / 0.6015 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.316e-05/0.1965, allocations: 31.98 kB / 0.6015 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.1968, allocations: 39.91 kB / 0.6015 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005391/0.1974, allocations: 317 kB / 0.6018 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1976, allocations: 0.7282 MB / 0.6026 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.508e-05/0.1977, allocations: 29.31 kB / 0.6026 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/0.1978, allocations: 15.44 kB / 0.6026 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1978, allocations: 0 / 0.6026 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of Templates: time 0.2565/0.4543, allocations: 2.439 MB / 0.605 GB, free: 43.53 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)