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.001368/0.001368, 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.001637/0.001637, allocations: 214.6 kB / 22.25 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.439/1.439, allocations: 230.6 MB / 256 MB, free: 7.727 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.9173/0.9173, allocations: 145 MB / 457.4 MB, free: 15.25 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.002197/0.002197, allocations: 74.58 kB / 0.6331 GB, free: 6.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1755, allocations: 87.89 MB / 0.7189 GB, free: 14.81 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003269/0.1788, allocations: 1.776 MB / 0.7207 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1809, allocations: 1.19 MB / 0.7218 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.868e-05/0.181, allocations: 7.938 kB / 0.7218 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1813, allocations: 63.67 kB / 0.7219 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.1817, allocations: 115.5 kB / 0.722 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005399/0.1822, allocations: 199.5 kB / 0.7222 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.1824, allocations: 163.5 kB / 0.7223 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.825e-05/0.1825, allocations: 13.62 kB / 0.7224 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1826, allocations: 63.77 kB / 0.7224 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1827, allocations: 71.67 kB / 0.7225 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.1828, allocations: 8 kB / 0.7225 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.1829, allocations: 79.88 kB / 0.7226 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.065e-05/0.183, allocations: 43.83 kB / 0.7226 GB, free: 11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.965e-05/0.1831, allocations: 43.73 kB / 0.7227 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003178/0.1834, allocations: 215.2 kB / 0.7229 GB, free: 10.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1834, allocations: 0 / 0.7229 GB, free: 10.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1834, allocations: 3.938 kB / 0.7229 GB, free: 10.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.1834, allocations: 0 / 0.7229 GB, free: 10.75 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.0006682/0.1841, allocations: 430.8 kB / 0.7233 GB, free: 10.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.1841, allocations: 8.031 kB / 0.7233 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.485e-05/0.1842, allocations: 34.75 kB / 0.7233 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.1842, allocations: 16.84 kB / 0.7233 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.1846, allocations: 194.2 kB / 0.7235 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.635e-05/0.1846, allocations: 8.375 kB / 0.7235 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1846, allocations: 7.938 kB / 0.7235 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.1849, allocations: 113 kB / 0.7236 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1849, allocations: 0 / 0.7236 GB, free: 9.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.1849, allocations: 4 kB / 0.7236 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.1849, allocations: 7.984 kB / 0.7236 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.185, allocations: 31.98 kB / 0.7237 GB, free: 9.82 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.1855, allocations: 319.8 kB / 0.724 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.1858, allocations: 82.67 kB / 0.7241 GB, free: 9.375 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-05/0.1859, allocations: 36.83 kB / 0.7241 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.1859, allocations: 4.031 kB / 0.7241 GB, free: 9.332 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001925/0.1861, allocations: 91.27 kB / 0.7242 GB, free: 9.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.1861, allocations: 0 / 0.7242 GB, free: 9.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0004012/0.1865, allocations: 145.5 kB / 0.7243 GB, free: 9.082 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.1865, allocations: 77.11 kB / 0.7244 GB, free: 8.988 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003174/0.1868, allocations: 279 kB / 0.7247 GB, free: 8.703 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.1869, allocations: 25.7 kB / 0.7247 GB, free: 8.672 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.187, allocations: 132 kB / 0.7248 GB, free: 8.539 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.187, allocations: 23.84 kB / 0.7248 GB, free: 8.516 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.226e-05/0.1871, allocations: 29.64 kB / 0.7249 GB, free: 8.48 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1872, allocations: 326.8 kB / 0.7252 GB, free: 8.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.932e-05/0.1873, allocations: 27.98 kB / 0.7252 GB, free: 8.125 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.1874, allocations: 114.8 kB / 0.7253 GB, free: 7.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.1876, allocations: 65.7 kB / 0.7254 GB, free: 7.918 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.1876, allocations: 7.984 kB / 0.7254 GB, free: 7.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002353/0.1878, allocations: 117.5 kB / 0.7255 GB, free: 7.789 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1878, allocations: 4.062 kB / 0.7255 GB, free: 7.785 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1879, allocations: 4 kB / 0.7255 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1879, allocations: 0 / 0.7255 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.188, allocations: 23.92 kB / 0.7255 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.188, allocations: 400 / 0.7255 GB, free: 7.758 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.283e-05/0.1881, allocations: 11.89 kB / 0.7255 GB, free: 7.746 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.1881, allocations: 4 kB / 0.7255 GB, free: 7.742 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.0001473/0.1882, allocations: 141.8 kB / 0.7257 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.1883, allocations: 15.91 kB / 0.7257 GB, free: 7.578 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.1886, allocations: 143 kB / 0.7258 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.1886, allocations: 0 / 0.7258 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1886, allocations: 0 / 0.7258 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1886, allocations: 7.922 kB / 0.7258 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002542/0.1889, allocations: 188.6 kB / 0.726 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1889, allocations: 0 / 0.726 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.674e-05/0.1889, allocations: 8 kB / 0.726 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.189, allocations: 4.172 kB / 0.726 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.189, allocations: 0 / 0.726 GB, free: 7.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.189, allocations: 7.938 kB / 0.726 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.189, allocations: 3.984 kB / 0.726 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.1892, allocations: 156.9 kB / 0.7262 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.134e-05/0.1893, allocations: 15.84 kB / 0.7262 GB, free: 6.98 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.563e-05/0.1893, allocations: 8 kB / 0.7262 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.1894, allocations: 0 / 0.7262 GB, free: 6.973 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.825e-05/0.1894, allocations: 15.92 kB / 0.7262 GB, free: 6.957 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.1895, allocations: 7.984 kB / 0.7262 GB, free: 6.949 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002804/0.1897, allocations: 200.6 kB / 0.7264 GB, free: 6.754 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1897, allocations: 0 / 0.7264 GB, free: 6.754 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002746/0.19, allocations: 35.92 kB / 0.7265 GB, free: 6.719 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.002158/0.1922, allocations: 1.041 MB / 0.7275 GB, free: 5.836 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.1925, allocations: 71.91 kB / 0.7275 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1925, allocations: 0 / 0.7275 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.1926, allocations: 39.97 kB / 0.7276 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1929, allocations: 42.89 kB / 0.7276 GB, free: 5.691 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.1956, allocations: 1.986 MB / 0.7296 GB, free: 3.617 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.1957, allocations: 118.6 kB / 0.7297 GB, free: 3.484 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.239e-05/0.1958, allocations: 25.66 kB / 0.7297 GB, free: 3.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001085/0.1959, allocations: 55.41 kB / 0.7298 GB, free: 3.406 MB / 0.545 GB Notification: Performance of SimCode: time 7.81e-07/0.1959, allocations: 0 / 0.7298 GB, free: 3.406 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.2282, allocations: 5.496 MB / 0.7351 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.31, allocations: 24.94 kB / 0.7351 GB, free: 13.97 MB / 0.5606 GB " [Timeout remaining time 649] (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 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 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.33857872709632] Failed to read output from testmodel.py, exit status != 0: 11.473728286102414 11.795923868000001 11.310401407 Calling exit ...