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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 104.7 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 206.4 kB / 19.42 MB, free: 3.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 252.8 MB, free: 8.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9029/0.9029, allocations: 145 MB / 453.8 MB, free: 1.113 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 66.78 kB / 0.628 GB, free: 10.9 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1775/0.1795, allocations: 87.82 MB / 0.7138 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003424/0.1829, allocations: 1.808 MB / 0.7156 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002116/0.185, allocations: 1.266 MB / 0.7168 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.773e-05/0.1851, allocations: 0 / 0.7168 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.1854, allocations: 63.67 kB / 0.7169 GB, free: 15.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003349/0.1858, allocations: 115.5 kB / 0.717 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.1863, allocations: 202.6 kB / 0.7172 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.1865, allocations: 155.5 kB / 0.7173 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1866, allocations: 21.42 kB / 0.7173 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1867, allocations: 67.77 kB / 0.7174 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1868, allocations: 71.67 kB / 0.7175 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.1869, allocations: 8 kB / 0.7175 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.187, allocations: 75.88 kB / 0.7175 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.443e-05/0.1871, allocations: 35.91 kB / 0.7176 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.696e-05/0.1872, allocations: 59.61 kB / 0.7176 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.1875, allocations: 219.4 kB / 0.7178 GB, free: 14.91 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.1875, allocations: 3.984 kB / 0.7178 GB, free: 14.9 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1875, allocations: 0 / 0.7178 GB, free: 14.9 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1875, allocations: 3.938 kB / 0.7178 GB, free: 14.9 MB / 0.545 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.0006881/0.1882, allocations: 0.4883 MB / 0.7183 GB, free: 14.36 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.1882, allocations: 8.031 kB / 0.7183 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/0.1883, allocations: 34.75 kB / 0.7184 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.1883, allocations: 20.84 kB / 0.7184 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.1887, allocations: 256 kB / 0.7186 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1888, allocations: 4.375 kB / 0.7186 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.1888, allocations: 11.88 kB / 0.7186 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.189, allocations: 92.23 kB / 0.7187 GB, free: 13.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.189, allocations: 7.922 kB / 0.7187 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.189, allocations: 3.984 kB / 0.7187 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.189, allocations: 4 kB / 0.7188 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001086/0.1891, allocations: 31.92 kB / 0.7188 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.1897, allocations: 356.8 kB / 0.7191 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.1899, allocations: 86.69 kB / 0.7192 GB, free: 13.34 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.266e-05/0.19, allocations: 28.84 kB / 0.7192 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.19, allocations: 7.922 kB / 0.7192 GB, free: 13.3 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.1902, allocations: 87.33 kB / 0.7193 GB, free: 13.2 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.1902, allocations: 0 / 0.7193 GB, free: 13.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004051/0.1906, allocations: 133.6 kB / 0.7194 GB, free: 13.06 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.427e-05/0.1907, allocations: 114.7 kB / 0.7196 GB, free: 12.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.191, allocations: 275 kB / 0.7198 GB, free: 12.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1911, allocations: 29.7 kB / 0.7198 GB, free: 12.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.471e-05/0.1911, allocations: 120.1 kB / 0.72 GB, free: 12.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.1912, allocations: 31.81 kB / 0.72 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/0.1912, allocations: 29.7 kB / 0.72 GB, free: 12.43 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.1914, allocations: 326.8 kB / 0.7203 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.1915, allocations: 23.98 kB / 0.7204 GB, free: 12.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.1916, allocations: 72.27 kB / 0.7204 GB, free: 11.99 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.1918, allocations: 69.64 kB / 0.7205 GB, free: 11.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1918, allocations: 0 / 0.7205 GB, free: 11.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002471/0.192, allocations: 109.6 kB / 0.7206 GB, free: 11.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.192, allocations: 8 kB / 0.7206 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.192, allocations: 0 / 0.7206 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.192, allocations: 0 / 0.7206 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1921, allocations: 19.92 kB / 0.7206 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1922, allocations: 4.391 kB / 0.7206 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.885e-05/0.1922, allocations: 11.89 kB / 0.7206 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.1922, allocations: 4.031 kB / 0.7206 GB, free: 11.75 MB / 0.545 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.0001726/0.1924, allocations: 145.8 kB / 0.7208 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.1924, allocations: 19.89 kB / 0.7208 GB, free: 11.58 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.529e-05/0.1925, allocations: 17.41 kB / 0.7208 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.1925, allocations: 0 / 0.7208 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1925, allocations: 4 kB / 0.7208 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.1925, allocations: 8.109 kB / 0.7208 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.1927, allocations: 221.5 kB / 0.721 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1927, allocations: 3.938 kB / 0.721 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.928e-05/0.1928, allocations: 8 kB / 0.7211 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1928, allocations: 7.938 kB / 0.7211 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1928, allocations: 7.984 kB / 0.7211 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1928, allocations: 0 / 0.7211 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.1928, allocations: 7.922 kB / 0.7211 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.1931, allocations: 144.9 kB / 0.7212 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.1931, allocations: 93 kB / 0.7213 GB, free: 10.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.1932, allocations: 8 kB / 0.7213 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.311e-05/0.1932, allocations: 4 kB / 0.7213 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.762e-05/0.1933, allocations: 11.92 kB / 0.7213 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1933, allocations: 4 kB / 0.7213 GB, free: 10.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002043/0.1935, allocations: 208.6 kB / 0.7215 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1935, allocations: 0 / 0.7215 GB, free: 10.75 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002609/0.1938, allocations: 31.94 kB / 0.7216 GB, free: 10.72 MB / 0.545 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.002191/0.1959, allocations: 0.9985 MB / 0.7225 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.1962, allocations: 67.95 kB / 0.7226 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1962, allocations: 0 / 0.7226 GB, free: 9.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1963, allocations: 43.84 kB / 0.7226 GB, free: 9.742 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.1966, allocations: 43.77 kB / 0.7227 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.1992, allocations: 1.979 MB / 0.7246 GB, free: 7.633 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.1995, allocations: 0.7241 MB / 0.7253 GB, free: 6.883 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.008e-05/0.1996, allocations: 25.38 kB / 0.7253 GB, free: 6.859 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.357e-05/0.1997, allocations: 47.42 kB / 0.7254 GB, free: 6.812 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1997, allocations: 3.938 kB / 0.7254 GB, free: 6.809 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02868/0.2284, allocations: 4.833 MB / 0.7301 GB, free: 2.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.147/8.375, allocations: 9.531 kB / 0.7301 GB, free: 2.062 MB / 0.545 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.089011064992519] Failed to read output from testmodel.py, exit status != 0: 8.500119958000141 8.525593736 8.333081769 Calling exit ...