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.001538/0.001538, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00175/0.00175, allocations: 215 kB / 23.04 MB, free: 5.074 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.569/1.569, allocations: 230.6 MB / 256.8 MB, free: 7.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.9186/0.9186, allocations: 145 MB / 458.2 MB, free: 15.52 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.001951/0.001951, allocations: 68.86 kB / 0.6339 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.201, allocations: 87.89 MB / 0.7198 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.003603/0.2046, allocations: 1.804 MB / 0.7215 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002168/0.2068, allocations: 1.291 MB / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.098e-05/0.2069, allocations: 3.938 kB / 0.7228 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003243/0.2072, allocations: 59.73 kB / 0.7229 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.2076, allocations: 119.5 kB / 0.723 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.2082, allocations: 198.2 kB / 0.7232 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.2084, allocations: 151.6 kB / 0.7233 GB, free: 11.77 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.2085, allocations: 21.62 kB / 0.7233 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.2087, allocations: 71.69 kB / 0.7234 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.2088, allocations: 75.69 kB / 0.7235 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.2088, allocations: 8 kB / 0.7235 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.209, allocations: 79.92 kB / 0.7235 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.278e-05/0.2091, allocations: 35.84 kB / 0.7236 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.032e-05/0.2092, allocations: 71.53 kB / 0.7236 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.2095, allocations: 207.2 kB / 0.7238 GB, free: 11.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2095, allocations: 4 kB / 0.7238 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2095, allocations: 0 / 0.7238 GB, free: 11.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.2095, allocations: 3.938 kB / 0.7239 GB, free: 11.2 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.0007293/0.2103, allocations: 428.8 kB / 0.7243 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2103, allocations: 12.03 kB / 0.7243 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.432e-05/0.2103, allocations: 192 / 0.7243 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.2104, allocations: 42.67 kB / 0.7243 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.681e-05/0.2104, allocations: 16.84 kB / 0.7243 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000382/0.2108, allocations: 198.1 kB / 0.7245 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.2108, allocations: 8.125 kB / 0.7245 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.2109, allocations: 4 kB / 0.7245 GB, free: 10.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.2111, allocations: 96.17 kB / 0.7246 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.2111, allocations: 0 / 0.7246 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.2111, allocations: 4 kB / 0.7246 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.2111, allocations: 8 kB / 0.7246 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.2112, allocations: 31.97 kB / 0.7247 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.2118, allocations: 323.8 kB / 0.725 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.2121, allocations: 86.64 kB / 0.7251 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.617e-05/0.2121, allocations: 32.84 kB / 0.7251 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.2122, allocations: 0 / 0.7251 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002227/0.2124, allocations: 87.36 kB / 0.7252 GB, free: 9.699 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 3.907e-06/0.2124, allocations: 4 kB / 0.7252 GB, free: 9.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003832/0.2128, allocations: 137.5 kB / 0.7253 GB, free: 9.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.2129, allocations: 106.8 kB / 0.7254 GB, free: 9.426 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.2131, allocations: 279 kB / 0.7257 GB, free: 9.145 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.373e-05/0.2132, allocations: 29.7 kB / 0.7257 GB, free: 9.109 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.359e-05/0.2133, allocations: 120.1 kB / 0.7258 GB, free: 8.988 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.2133, allocations: 23.83 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.2133, allocations: 25.7 kB / 0.7259 GB, free: 8.934 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.2135, allocations: 334.8 kB / 0.7262 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.93e-05/0.2136, allocations: 23.98 kB / 0.7262 GB, free: 8.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.2137, allocations: 76.14 kB / 0.7263 GB, free: 8.484 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.2138, allocations: 65.7 kB / 0.7263 GB, free: 8.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2138, allocations: 0 / 0.7263 GB, free: 8.414 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002293/0.2141, allocations: 121.5 kB / 0.7265 GB, free: 8.289 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2141, allocations: 10.03 kB / 0.7265 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2141, allocations: 0 / 0.7265 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.2141, allocations: 3.938 kB / 0.7265 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/0.2142, allocations: 12 kB / 0.7265 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2142, allocations: 3.938 kB / 0.7265 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.065e-05/0.2143, allocations: 11.94 kB / 0.7265 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.2143, allocations: 0 / 0.7265 GB, free: 8.25 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.0001547/0.2144, allocations: 153.8 kB / 0.7266 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.2145, allocations: 15.91 kB / 0.7267 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002726/0.2147, allocations: 119.4 kB / 0.7268 GB, free: 7.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.2148, allocations: 8.031 kB / 0.7268 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2148, allocations: 3.938 kB / 0.7268 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2148, allocations: 0 / 0.7268 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.215, allocations: 196.7 kB / 0.727 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.215, allocations: 0 / 0.727 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.224e-05/0.215, allocations: 7.984 kB / 0.727 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.215, allocations: 0 / 0.727 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.215, allocations: 8 kB / 0.727 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.215, allocations: 4 kB / 0.727 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.215, allocations: 7.875 kB / 0.727 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.2153, allocations: 149 kB / 0.7271 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.311e-05/0.2153, allocations: 15.84 kB / 0.7272 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.2154, allocations: 4 kB / 0.7272 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.61e-05/0.2154, allocations: 7.984 kB / 0.7272 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.2155, allocations: 15.92 kB / 0.7272 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.2155, allocations: 4 kB / 0.7272 GB, free: 7.461 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000235/0.2157, allocations: 204.6 kB / 0.7274 GB, free: 7.262 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.2157, allocations: 0 / 0.7274 GB, free: 7.262 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002921/0.216, allocations: 35.94 kB / 0.7274 GB, free: 7.227 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 (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.002088/0.2181, allocations: 0.9988 MB / 0.7284 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002278/0.2183, allocations: 63.97 kB / 0.7285 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2183, allocations: 0 / 0.7285 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.2185, allocations: 35.92 kB / 0.7285 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.2188, allocations: 40.16 kB / 0.7285 GB, free: 6.227 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.2213, allocations: 1.982 MB / 0.7305 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004024/0.2217, allocations: 0.7241 MB / 0.7312 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.018e-05/0.2218, allocations: 25.38 kB / 0.7312 GB, free: 3.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.818e-05/0.2219, allocations: 55.41 kB / 0.7312 GB, free: 3.328 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.2219, allocations: 3.938 kB / 0.7312 GB, free: 3.324 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02767/0.2496, allocations: 5.006 MB / 0.7361 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.4, allocations: 13.31 kB / 0.7361 GB, free: 14.41 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.398197086062282] Failed to read output from testmodel.py, exit status != 0: 11.616220880066976 11.643295121 11.428916934 Calling exit ...