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.001833/0.001833, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002221/0.002221, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.789 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.9057/0.9057, allocations: 145 MB / 457.4 MB, free: 15.31 MB / 366.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.002037/0.002037, allocations: 66.48 kB / 0.6331 GB, free: 6.715 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1783, allocations: 87.89 MB / 0.7189 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003362/0.1817, allocations: 1.773 MB / 0.7207 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.1839, allocations: 1.186 MB / 0.7218 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.968e-05/0.184, allocations: 0 / 0.7218 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1843, allocations: 63.67 kB / 0.7219 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003925/0.1847, allocations: 123.5 kB / 0.722 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006326/0.1854, allocations: 203.4 kB / 0.7222 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.1856, allocations: 155.5 kB / 0.7223 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1857, allocations: 25.48 kB / 0.7224 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.1858, allocations: 59.78 kB / 0.7224 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.186, allocations: 71.73 kB / 0.7225 GB, free: 11.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.186, allocations: 11.94 kB / 0.7225 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002023/0.1862, allocations: 79.86 kB / 0.7226 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.909e-05/0.1863, allocations: 43.89 kB / 0.7226 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.783e-05/0.1864, allocations: 39.69 kB / 0.7227 GB, free: 11 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003639/0.1867, allocations: 215.1 kB / 0.7229 GB, free: 10.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.909e-06/0.1867, allocations: 7.984 kB / 0.7229 GB, free: 10.78 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.026e-06/0.1867, allocations: 4 kB / 0.7229 GB, free: 10.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1867, allocations: 0 / 0.7229 GB, free: 10.77 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.0007651/0.1875, allocations: 418.9 kB / 0.7233 GB, free: 10.33 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.1876, allocations: 8.031 kB / 0.7233 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.1876, allocations: 34.75 kB / 0.7233 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.1877, allocations: 16.84 kB / 0.7233 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.1881, allocations: 202.1 kB / 0.7235 GB, free: 10.04 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1881, allocations: 8.312 kB / 0.7235 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.1881, allocations: 11.94 kB / 0.7235 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.1883, allocations: 113.1 kB / 0.7236 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1883, allocations: 0 / 0.7236 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1883, allocations: 0 / 0.7236 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.1884, allocations: 4 kB / 0.7236 GB, free: 9.887 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.1885, allocations: 35.92 kB / 0.7237 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.189, allocations: 315.8 kB / 0.724 GB, free: 9.5 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.1892, allocations: 94.69 kB / 0.7241 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.868e-05/0.1893, allocations: 32.84 kB / 0.7241 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.1893, allocations: 0 / 0.7241 GB, free: 9.363 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001933/0.1895, allocations: 87.33 kB / 0.7242 GB, free: 9.266 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 3.456e-06/0.1895, allocations: 3.984 kB / 0.7242 GB, free: 9.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003759/0.1899, allocations: 141.5 kB / 0.7243 GB, free: 9.117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.19, allocations: 85.05 kB / 0.7244 GB, free: 9.016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.1903, allocations: 283 kB / 0.7247 GB, free: 8.727 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.1903, allocations: 25.7 kB / 0.7247 GB, free: 8.695 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/0.1904, allocations: 124.1 kB / 0.7248 GB, free: 8.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.1905, allocations: 19.84 kB / 0.7248 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.1905, allocations: 29.64 kB / 0.7249 GB, free: 8.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1907, allocations: 330.8 kB / 0.7252 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.1907, allocations: 23.98 kB / 0.7252 GB, free: 8.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1909, allocations: 118.8 kB / 0.7253 GB, free: 8.02 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.191, allocations: 73.62 kB / 0.7254 GB, free: 7.941 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.191, allocations: 0 / 0.7254 GB, free: 7.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002271/0.1913, allocations: 113.6 kB / 0.7255 GB, free: 7.824 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1913, allocations: 12 kB / 0.7255 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1913, allocations: 0 / 0.7255 GB, free: 7.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1913, allocations: 3.938 kB / 0.7255 GB, free: 7.809 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1914, allocations: 23.92 kB / 0.7255 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.1914, allocations: 0 / 0.7255 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.1915, allocations: 15.89 kB / 0.7256 GB, free: 7.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1915, allocations: 0 / 0.7256 GB, free: 7.77 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.0001495/0.1917, allocations: 141.8 kB / 0.7257 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.1917, allocations: 19.89 kB / 0.7257 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000306/0.192, allocations: 131.4 kB / 0.7258 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.192, allocations: 4 kB / 0.7258 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.192, allocations: 0 / 0.7258 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.192, allocations: 3.938 kB / 0.7258 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1922, allocations: 192.6 kB / 0.726 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1922, allocations: 0 / 0.726 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.561e-05/0.1923, allocations: 8 kB / 0.726 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1923, allocations: 0 / 0.726 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1923, allocations: 3.984 kB / 0.726 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1923, allocations: 80 / 0.726 GB, free: 7.211 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.1923, allocations: 7.984 kB / 0.726 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002775/0.1926, allocations: 157 kB / 0.7262 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.1926, allocations: 19.84 kB / 0.7262 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.098e-05/0.1927, allocations: 4 kB / 0.7262 GB, free: 7.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.1927, allocations: 7.984 kB / 0.7262 GB, free: 7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.1928, allocations: 11.92 kB / 0.7262 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.1928, allocations: 4 kB / 0.7262 GB, free: 6.984 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002139/0.193, allocations: 204.6 kB / 0.7264 GB, free: 6.785 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.193, allocations: 0 / 0.7264 GB, free: 6.785 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002558/0.1933, allocations: 35.94 kB / 0.7265 GB, free: 6.75 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.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * 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.002201/0.1955, allocations: 1.036 MB / 0.7275 GB, free: 5.871 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1957, allocations: 71.89 kB / 0.7275 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1957, allocations: 0 / 0.7275 GB, free: 5.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1958, allocations: 43.91 kB / 0.7276 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1961, allocations: 48.12 kB / 0.7276 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002516/0.1986, allocations: 1.986 MB / 0.7296 GB, free: 3.645 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.1988, allocations: 106.6 kB / 0.7297 GB, free: 3.523 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.141e-05/0.1988, allocations: 33.69 kB / 0.7297 GB, free: 3.492 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.518e-05/0.1989, allocations: 51.42 kB / 0.7298 GB, free: 3.441 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.1989, allocations: 0 / 0.7298 GB, free: 3.441 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.2325, allocations: 5.491 MB / 0.7351 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.5, allocations: 5.547 kB / 0.7351 GB, free: 14.02 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.518589022103697] Failed to read output from testmodel.py, exit status != 0: 11.665302104782313 11.68192895 11.492051775 Calling exit ...