Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.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.001309/0.001309, allocations: 102.2 kB / 16.45 MB, free: 6.449 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.001367/0.001367, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.458/1.458, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.922/0.922, allocations: 145 MB / 453.8 MB, free: 0.6914 MB / 350.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.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",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.00287/0.00287, allocations: 74.67 kB / 0.628 GB, free: 10.46 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2052, allocations: 87.82 MB / 0.7138 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003841/0.2091, allocations: 1.806 MB / 0.7156 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002279/0.2113, allocations: 1.182 MB / 0.7167 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.2115, allocations: 4 kB / 0.7167 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006874/0.2122, allocations: 163.5 kB / 0.7169 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.2126, allocations: 159.4 kB / 0.717 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.213, allocations: 142.3 kB / 0.7172 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002902/0.2133, allocations: 167.5 kB / 0.7173 GB, free: 15 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.2135, allocations: 29.03 kB / 0.7174 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.2136, allocations: 67.77 kB / 0.7174 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.2138, allocations: 79.61 kB / 0.7175 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.2138, allocations: 8 kB / 0.7175 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.214, allocations: 71.94 kB / 0.7176 GB, free: 14.75 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.2141, allocations: 47.78 kB / 0.7176 GB, free: 14.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.191e-05/0.2141, allocations: 59.61 kB / 0.7177 GB, free: 14.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.2145, allocations: 203.2 kB / 0.7179 GB, free: 14.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2145, allocations: 3.938 kB / 0.7179 GB, free: 14.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.377e-06/0.2145, allocations: 4 kB / 0.7179 GB, free: 14.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.2145, allocations: 0 / 0.7179 GB, free: 14.44 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009059/0.2155, allocations: 0.5056 MB / 0.7184 GB, free: 13.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.2155, allocations: 8.031 kB / 0.7184 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.2155, allocations: 34.75 kB / 0.7184 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.2156, allocations: 16.84 kB / 0.7184 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000332/0.2159, allocations: 256 kB / 0.7187 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.2159, allocations: 384 / 0.7187 GB, free: 13.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.216, allocations: 11.94 kB / 0.7187 GB, free: 13.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.2162, allocations: 95.31 kB / 0.7188 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2162, allocations: 0 / 0.7188 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2162, allocations: 0 / 0.7188 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.2162, allocations: 4 kB / 0.7188 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.2163, allocations: 31.98 kB / 0.7188 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005342/0.2168, allocations: 360.6 kB / 0.7192 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.217, allocations: 70.78 kB / 0.7192 GB, free: 12.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.2171, allocations: 36.78 kB / 0.7193 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.2171, allocations: 0 / 0.7193 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.2173, allocations: 87.31 kB / 0.7193 GB, free: 12.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.462e-06/0.2173, allocations: 0 / 0.7193 GB, free: 12.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.000404/0.2177, allocations: 141.6 kB / 0.7195 GB, free: 12.61 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.2178, allocations: 85.05 kB / 0.7196 GB, free: 12.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.2181, allocations: 279 kB / 0.7198 GB, free: 12.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.2182, allocations: 29.7 kB / 0.7198 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.799e-05/0.2183, allocations: 116.1 kB / 0.72 GB, free: 12.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.2183, allocations: 27.78 kB / 0.72 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.168e-05/0.2183, allocations: 29.98 kB / 0.72 GB, free: 12.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.2186, allocations: 326.8 kB / 0.7203 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.079e-05/0.2186, allocations: 31.98 kB / 0.7204 GB, free: 11.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.493e-05/0.2187, allocations: 63.34 kB / 0.7204 GB, free: 11.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.2189, allocations: 69.64 kB / 0.7205 GB, free: 11.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2189, allocations: 0 / 0.7205 GB, free: 11.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002249/0.2191, allocations: 117.5 kB / 0.7206 GB, free: 11.38 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.2191, allocations: 8.062 kB / 0.7206 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2191, allocations: 0 / 0.7206 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.2192, allocations: 7.984 kB / 0.7206 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.267e-05/0.2192, allocations: 8 kB / 0.7206 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.2192, allocations: 3.984 kB / 0.7206 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.755e-05/0.2193, allocations: 15.89 kB / 0.7206 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.218e-06/0.2193, allocations: 4 kB / 0.7206 GB, free: 11.34 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0002386/0.2196, allocations: 137.8 kB / 0.7208 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.2196, allocations: 19.91 kB / 0.7208 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.815e-05/0.2196, allocations: 21.39 kB / 0.7208 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.2196, allocations: 4 kB / 0.7208 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2196, allocations: 3.938 kB / 0.7208 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.2197, allocations: 7.875 kB / 0.7208 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.2199, allocations: 233.5 kB / 0.7211 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2199, allocations: 0 / 0.7211 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.075e-05/0.2199, allocations: 4 kB / 0.7211 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.2199, allocations: 4 kB / 0.7211 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2199, allocations: 4 kB / 0.7211 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2199, allocations: 0 / 0.7211 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2199, allocations: 4 kB / 0.7211 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.2202, allocations: 156.9 kB / 0.7212 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.2203, allocations: 89.02 kB / 0.7213 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.2203, allocations: 0 / 0.7213 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.13e-05/0.2203, allocations: 4 kB / 0.7213 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.2204, allocations: 11.92 kB / 0.7213 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.2204, allocations: 4 kB / 0.7213 GB, free: 10.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002238/0.2206, allocations: 208.6 kB / 0.7215 GB, free: 10.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2206, allocations: 0 / 0.7215 GB, free: 10.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002513/0.2209, allocations: 31.94 kB / 0.7215 GB, free: 10.31 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent) * 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.002095/0.223, allocations: 1.004 MB / 0.7225 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.2233, allocations: 63.92 kB / 0.7226 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2233, allocations: 4 kB / 0.7226 GB, free: 9.367 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.835e-05/0.2234, allocations: 35.97 kB / 0.7226 GB, free: 9.332 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.2237, allocations: 40.95 kB / 0.7227 GB, free: 9.297 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002648/0.2263, allocations: 1.996 MB / 0.7246 GB, free: 7.215 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.2267, allocations: 0.728 MB / 0.7253 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.93e-05/0.2268, allocations: 21.72 kB / 0.7253 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.529e-05/0.2269, allocations: 47.42 kB / 0.7254 GB, free: 6.395 MB / 0.545 GB Notification: Performance of SimCode: time 5.72e-07/0.2269, allocations: 0 / 0.7254 GB, free: 6.395 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03952/0.2664, allocations: 4.656 MB / 0.7299 GB, free: 1.828 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.238, allocations: 7.406 kB / 0.7299 GB, free: 1.824 MB / 0.545 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.123211824000464] Failed to read output from testmodel.py, exit status != 0: 8.374034132997622 8.388765608 8.171089988 Calling exit ...