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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, 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.001076/0.001076, allocations: 198.5 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.605 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 0.9729/0.9729, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.91 kB / 0.5136 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1773, allocations: 82.04 MB / 0.5937 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003186/0.1806, allocations: 1.819 MB / 0.5955 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001693/0.1823, allocations: 1.088 MB / 0.5966 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.099e-05/0.1824, allocations: 3.938 kB / 0.5966 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003228/0.1827, allocations: 55.86 kB / 0.5966 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.183, allocations: 67.75 kB / 0.5967 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005525/0.1835, allocations: 204.3 kB / 0.5969 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.1837, allocations: 131.6 kB / 0.597 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1838, allocations: 21.11 kB / 0.597 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1839, allocations: 55.77 kB / 0.5971 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.566e-05/0.184, allocations: 63.69 kB / 0.5971 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.1841, allocations: 0 / 0.5971 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.1842, allocations: 63.97 kB / 0.5972 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.1843, allocations: 43.83 kB / 0.5972 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.113e-05/0.1844, allocations: 47.67 kB / 0.5973 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.1846, allocations: 199.6 kB / 0.5975 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1846, allocations: 0 / 0.5975 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1846, allocations: 0 / 0.5975 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.1846, allocations: 0 / 0.5975 GB, free: 6.086 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.0006796/0.1853, allocations: 496.3 kB / 0.598 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1854, allocations: 8.031 kB / 0.598 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.1854, allocations: 42.75 kB / 0.598 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.1855, allocations: 16.75 kB / 0.598 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.1858, allocations: 244.9 kB / 0.5983 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.1858, allocations: 8.312 kB / 0.5983 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1858, allocations: 7.938 kB / 0.5983 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002126/0.186, allocations: 96.17 kB / 0.5984 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.186, allocations: 4 kB / 0.5984 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.1861, allocations: 4 kB / 0.5984 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.1861, allocations: 0 / 0.5984 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.1862, allocations: 43.89 kB / 0.5984 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.1867, allocations: 356.6 kB / 0.5988 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.187, allocations: 90.7 kB / 0.5988 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.164e-05/0.187, allocations: 32.84 kB / 0.5989 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.1871, allocations: 7.984 kB / 0.5989 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.1873, allocations: 79.36 kB / 0.599 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.1873, allocations: 0 / 0.599 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003565/0.1877, allocations: 141.4 kB / 0.5991 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.363e-05/0.1878, allocations: 106.8 kB / 0.5992 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.188, allocations: 267.6 kB / 0.5994 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.1881, allocations: 29.69 kB / 0.5995 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.048e-05/0.1882, allocations: 120 kB / 0.5996 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.1882, allocations: 15.8 kB / 0.5996 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.1882, allocations: 33.7 kB / 0.5996 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1884, allocations: 326.8 kB / 0.5999 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.121e-05/0.1884, allocations: 23.98 kB / 0.6 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1885, allocations: 72.27 kB / 0.6 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.1887, allocations: 65.64 kB / 0.6001 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1887, allocations: 3.938 kB / 0.6001 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002168/0.1889, allocations: 109.5 kB / 0.6002 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.189, allocations: 5.875 kB / 0.6002 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.189, allocations: 4 kB / 0.6002 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.189, allocations: 4.031 kB / 0.6002 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1891, allocations: 19.92 kB / 0.6002 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.1891, allocations: 0 / 0.6002 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.691e-05/0.1892, allocations: 15.88 kB / 0.6003 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.1892, allocations: 0 / 0.6003 GB, free: 2.965 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.0001244/0.1893, allocations: 146.5 kB / 0.6004 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.1894, allocations: 15.81 kB / 0.6004 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.71e-05/0.1894, allocations: 17.59 kB / 0.6004 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.1894, allocations: 0 / 0.6004 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1895, allocations: 7.938 kB / 0.6004 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1895, allocations: 7.922 kB / 0.6004 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.1897, allocations: 225.5 kB / 0.6007 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1897, allocations: 0 / 0.6007 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.1897, allocations: 8 kB / 0.6007 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.1897, allocations: 0 / 0.6007 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.1898, allocations: 7.938 kB / 0.6007 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1898, allocations: 0 / 0.6007 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1898, allocations: 4 kB / 0.6007 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.19, allocations: 144.8 kB / 0.6008 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.1901, allocations: 96.91 kB / 0.6009 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.1901, allocations: 4 kB / 0.6009 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.1902, allocations: 4 kB / 0.6009 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.1902, allocations: 11.92 kB / 0.6009 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.1902, allocations: 0 / 0.6009 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000172/0.1904, allocations: 196.6 kB / 0.6011 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1904, allocations: 0 / 0.6011 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002455/0.1907, allocations: 36 kB / 0.6011 GB, free: 1.949 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.001363/0.1921, allocations: 0.9987 MB / 0.6021 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.1923, allocations: 75.89 kB / 0.6022 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1923, allocations: 4.062 kB / 0.6022 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.1924, allocations: 35.98 kB / 0.6022 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.1927, allocations: 39.89 kB / 0.6023 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2613/0.454, allocations: 1.957 MB / 0.6042 GB, free: 42.84 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001694/0.4542, allocations: 0.7223 MB / 0.6049 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000124/0.4543, allocations: 20.5 kB / 0.6049 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.794e-05/0.4544, allocations: 52.48 kB / 0.605 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.4544, allocations: 0 / 0.605 GB, free: 42.15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01457/0.469, allocations: 4.41 MB / 0.6093 GB, free: 41.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/0.4692, allocations: 249.8 kB / 0.6095 GB, free: 41.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/2.188, allocations: 7.938 kB / 0.6095 GB, free: 41.53 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)