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.001398/0.001398, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001541/0.001541, allocations: 212.5 kB / 22.25 MB, free: 5.121 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.98 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.9433/0.9433, allocations: 145 MB / 457.4 MB, free: 15.49 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.002063/0.002063, allocations: 70.55 kB / 0.6332 GB, free: 7.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1935, allocations: 87.87 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00339/0.1969, allocations: 1.816 MB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00226/0.1992, allocations: 1.286 MB / 0.722 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1993, allocations: 4 kB / 0.722 GB, free: 12.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.1996, allocations: 63.67 kB / 0.7221 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.2, allocations: 123.5 kB / 0.7222 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005736/0.2005, allocations: 198.2 kB / 0.7224 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.2008, allocations: 155.5 kB / 0.7225 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2009, allocations: 17.62 kB / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.201, allocations: 67.7 kB / 0.7226 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.2012, allocations: 75.73 kB / 0.7227 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.2012, allocations: 8 kB / 0.7227 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.2013, allocations: 83.86 kB / 0.7228 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.528e-05/0.2014, allocations: 35.84 kB / 0.7228 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.628e-05/0.2015, allocations: 63.59 kB / 0.7229 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.2018, allocations: 219.1 kB / 0.7231 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2018, allocations: 0 / 0.7231 GB, free: 11.2 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2018, allocations: 0 / 0.7231 GB, free: 11.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2018, allocations: 0 / 0.7231 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.0007331/0.2026, allocations: 422.9 kB / 0.7235 GB, free: 10.75 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2026, allocations: 12.03 kB / 0.7235 GB, free: 10.73 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.2026, allocations: 34.75 kB / 0.7235 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.2027, allocations: 20.83 kB / 0.7236 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.203, allocations: 194.1 kB / 0.7237 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.2031, allocations: 12.38 kB / 0.7237 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.2031, allocations: 11.86 kB / 0.7238 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.2033, allocations: 88.23 kB / 0.7238 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2033, allocations: 0 / 0.7238 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.2033, allocations: 8 kB / 0.7239 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.2033, allocations: 0 / 0.7239 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.2035, allocations: 39.86 kB / 0.7239 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.2041, allocations: 323.8 kB / 0.7242 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.2043, allocations: 86.69 kB / 0.7243 GB, free: 9.832 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.773e-05/0.2044, allocations: 28.84 kB / 0.7243 GB, free: 9.801 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.2044, allocations: 3.984 kB / 0.7243 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.2046, allocations: 91.33 kB / 0.7244 GB, free: 9.695 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.2046, allocations: 0 / 0.7244 GB, free: 9.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003714/0.205, allocations: 133.5 kB / 0.7245 GB, free: 9.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/0.205, allocations: 110.8 kB / 0.7246 GB, free: 9.426 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/0.2053, allocations: 275 kB / 0.7249 GB, free: 9.148 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2054, allocations: 25.7 kB / 0.7249 GB, free: 9.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2055, allocations: 132.1 kB / 0.725 GB, free: 8.984 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.2055, allocations: 19.83 kB / 0.7251 GB, free: 8.965 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.195e-05/0.2055, allocations: 33.7 kB / 0.7251 GB, free: 8.926 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.2057, allocations: 326.8 kB / 0.7254 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.2058, allocations: 23.98 kB / 0.7254 GB, free: 8.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.2059, allocations: 72.27 kB / 0.7255 GB, free: 8.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.206, allocations: 73.64 kB / 0.7256 GB, free: 8.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.206, allocations: 0 / 0.7256 GB, free: 8.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002321/0.2063, allocations: 105.9 kB / 0.7257 GB, free: 8.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2063, allocations: 6.031 kB / 0.7257 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2063, allocations: 80 / 0.7257 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.2063, allocations: 0 / 0.7257 GB, free: 8.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.956e-05/0.2064, allocations: 27.91 kB / 0.7257 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.2064, allocations: 3.984 kB / 0.7257 GB, free: 8.266 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.2065, allocations: 15.88 kB / 0.7257 GB, free: 8.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2065, allocations: 12.02 kB / 0.7257 GB, free: 8.238 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.0001476/0.2066, allocations: 149.8 kB / 0.7259 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.2067, allocations: 15.91 kB / 0.7259 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002775/0.207, allocations: 123 kB / 0.726 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.207, allocations: 0 / 0.726 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.207, allocations: 3.984 kB / 0.726 GB, free: 7.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.207, allocations: 3.938 kB / 0.726 GB, free: 7.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.2072, allocations: 192.7 kB / 0.7262 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2072, allocations: 4 kB / 0.7262 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-05/0.2072, allocations: 4.188 kB / 0.7262 GB, free: 7.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.2072, allocations: 4 kB / 0.7262 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2072, allocations: 11.91 kB / 0.7262 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2072, allocations: 0 / 0.7262 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2072, allocations: 0 / 0.7262 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.2075, allocations: 148.9 kB / 0.7264 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.2076, allocations: 15.84 kB / 0.7264 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.2076, allocations: 8 kB / 0.7264 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.305e-05/0.2077, allocations: 0 / 0.7264 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.569e-05/0.2077, allocations: 19.86 kB / 0.7264 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.2077, allocations: 7.984 kB / 0.7264 GB, free: 7.457 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002173/0.2079, allocations: 204.6 kB / 0.7266 GB, free: 7.258 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2079, allocations: 0 / 0.7266 GB, free: 7.258 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002561/0.2082, allocations: 35.92 kB / 0.7266 GB, free: 7.223 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.002103/0.2103, allocations: 0.9931 MB / 0.7276 GB, free: 6.359 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002436/0.2106, allocations: 63.91 kB / 0.7277 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.2106, allocations: 0 / 0.7277 GB, free: 6.297 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.667e-05/0.2106, allocations: 31.98 kB / 0.7277 GB, free: 6.266 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.211, allocations: 51.31 kB / 0.7278 GB, free: 6.223 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002778/0.2137, allocations: 1.987 MB / 0.7297 GB, free: 4.148 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.2142, allocations: 0.7241 MB / 0.7304 GB, free: 3.398 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.509e-05/0.2143, allocations: 25.08 kB / 0.7304 GB, free: 3.375 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.896e-05/0.2144, allocations: 47.42 kB / 0.7305 GB, free: 3.328 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.2144, allocations: 0 / 0.7305 GB, free: 3.328 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.2476, allocations: 4.985 MB / 0.7353 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.28, allocations: 10.12 kB / 0.7353 GB, free: 14.43 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 & 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.151169807999395] Failed to read output from testmodel.py, exit status != 0: 11.438931165997928 11.454604944 11.249691882 Calling exit ...