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.001511/0.001511, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001467/0.001467, allocations: 219.3 kB / 23.03 MB, free: 4.949 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9554/0.9554, allocations: 145 MB / 458.2 MB, free: 15.74 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="cs",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.002026/0.002026, allocations: 70.62 kB / 0.6339 GB, free: 6.879 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.178, allocations: 87.88 MB / 0.7197 GB, free: 15.01 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003462/0.1815, allocations: 1.775 MB / 0.7214 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002199/0.1837, allocations: 1.182 MB / 0.7226 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1838, allocations: 7.938 kB / 0.7226 GB, free: 12.02 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.1841, allocations: 55.73 kB / 0.7226 GB, free: 11.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003975/0.1845, allocations: 119.5 kB / 0.7227 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006135/0.1851, allocations: 206 kB / 0.7229 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00028/0.1854, allocations: 159.5 kB / 0.7231 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1855, allocations: 17.62 kB / 0.7231 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.1856, allocations: 63.77 kB / 0.7232 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001395/0.1858, allocations: 75.62 kB / 0.7232 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.1858, allocations: 8 kB / 0.7232 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.186, allocations: 79.92 kB / 0.7233 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.288e-05/0.1861, allocations: 39.89 kB / 0.7234 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.073e-05/0.1861, allocations: 47.67 kB / 0.7234 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003641/0.1865, allocations: 223.1 kB / 0.7236 GB, free: 10.94 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1865, allocations: 0 / 0.7236 GB, free: 10.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1865, allocations: 0 / 0.7236 GB, free: 10.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.1865, allocations: 0 / 0.7236 GB, free: 10.94 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.0006832/0.1872, allocations: 426.9 kB / 0.724 GB, free: 10.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1872, allocations: 8.031 kB / 0.724 GB, free: 10.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.041e-05/0.1873, allocations: 8.125 kB / 0.724 GB, free: 10.47 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.1873, allocations: 34.75 kB / 0.7241 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.1873, allocations: 16.84 kB / 0.7241 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.1877, allocations: 202.1 kB / 0.7243 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1877, allocations: 8.125 kB / 0.7243 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1877, allocations: 4 kB / 0.7243 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002473/0.188, allocations: 143.6 kB / 0.7244 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.188, allocations: 4 kB / 0.7244 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.188, allocations: 11.86 kB / 0.7244 GB, free: 9.992 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.188, allocations: 4 kB / 0.7245 GB, free: 9.988 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.1881, allocations: 35.98 kB / 0.7245 GB, free: 9.953 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005385/0.1887, allocations: 311.8 kB / 0.7248 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002553/0.1889, allocations: 94.69 kB / 0.7249 GB, free: 9.504 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.1891, allocations: 28.84 kB / 0.7249 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.1891, allocations: 0 / 0.7249 GB, free: 9.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.1893, allocations: 91.31 kB / 0.725 GB, free: 9.371 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1893, allocations: 0 / 0.725 GB, free: 9.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003988/0.1897, allocations: 149.5 kB / 0.7251 GB, free: 9.219 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.176e-05/0.1897, allocations: 106.8 kB / 0.7252 GB, free: 9.09 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.19, allocations: 279 kB / 0.7255 GB, free: 8.805 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1901, allocations: 33.7 kB / 0.7255 GB, free: 8.766 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.1902, allocations: 124.1 kB / 0.7257 GB, free: 8.641 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1902, allocations: 15.84 kB / 0.7257 GB, free: 8.625 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.872e-05/0.1902, allocations: 29.7 kB / 0.7257 GB, free: 8.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1904, allocations: 326.8 kB / 0.726 GB, free: 8.262 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.1905, allocations: 27.98 kB / 0.726 GB, free: 8.234 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1906, allocations: 149.4 kB / 0.7262 GB, free: 8.055 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.1908, allocations: 73.62 kB / 0.7262 GB, free: 7.977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1908, allocations: 0 / 0.7262 GB, free: 7.977 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002448/0.191, allocations: 125.5 kB / 0.7264 GB, free: 7.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.191, allocations: 8 kB / 0.7264 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.191, allocations: 0 / 0.7264 GB, free: 7.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.1911, allocations: 4.031 kB / 0.7264 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.1912, allocations: 15.98 kB / 0.7264 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1912, allocations: 3.938 kB / 0.7264 GB, free: 7.816 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.1912, allocations: 11.95 kB / 0.7264 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.1912, allocations: 0 / 0.7264 GB, free: 7.805 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.0001375/0.1914, allocations: 141.8 kB / 0.7265 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.1914, allocations: 19.89 kB / 0.7266 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.1917, allocations: 131.2 kB / 0.7267 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.1917, allocations: 7.938 kB / 0.7267 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1917, allocations: 3.938 kB / 0.7267 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.1917, allocations: 0 / 0.7267 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.192, allocations: 196.6 kB / 0.7269 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.192, allocations: 0 / 0.7269 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.913e-05/0.192, allocations: 8 kB / 0.7269 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.192, allocations: 0 / 0.7269 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.192, allocations: 7.984 kB / 0.7269 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.192, allocations: 3.938 kB / 0.7269 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.192, allocations: 11.94 kB / 0.7269 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1923, allocations: 145 kB / 0.7271 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.1923, allocations: 11.91 kB / 0.7271 GB, free: 7.047 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.1924, allocations: 8 kB / 0.7271 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.851e-05/0.1924, allocations: 3.984 kB / 0.7271 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.1925, allocations: 11.92 kB / 0.7271 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.1925, allocations: 8 kB / 0.7271 GB, free: 7.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002275/0.1927, allocations: 208.5 kB / 0.7273 GB, free: 6.812 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1927, allocations: 0 / 0.7273 GB, free: 6.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002693/0.193, allocations: 31.94 kB / 0.7273 GB, free: 6.781 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.002223/0.1952, allocations: 1.041 MB / 0.7283 GB, free: 5.898 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002494/0.1955, allocations: 67.95 kB / 0.7284 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1955, allocations: 0 / 0.7284 GB, free: 5.832 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.1956, allocations: 47.91 kB / 0.7285 GB, free: 5.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.1959, allocations: 40.7 kB / 0.7285 GB, free: 5.75 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002605/0.1985, allocations: 1.995 MB / 0.7304 GB, free: 3.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.1986, allocations: 110.6 kB / 0.7305 GB, free: 3.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.1988, allocations: 21.08 kB / 0.7306 GB, free: 3.527 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.1989, allocations: 55.36 kB / 0.7306 GB, free: 3.473 MB / 0.545 GB Notification: Performance of SimCode: time 1.223e-06/0.1989, allocations: 0 / 0.7306 GB, free: 3.473 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.2256, allocations: 5.25 MB / 0.7357 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.64, allocations: 2.578 kB / 0.7357 GB, free: 14.34 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 & /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 os._exit(0), Time elapsed: 15.567317125969566] Failed to read output from testmodel.py, exit status != 0: 11.855783532955684 11.874240233 11.684680681 Calling exit ...