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.001352/0.001352, 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.001479/0.001479, allocations: 217 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.973 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.9393/0.9393, allocations: 145 MB / 457.4 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.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.002018/0.002018, allocations: 69.77 kB / 0.6332 GB, free: 7.297 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1995, allocations: 87.89 MB / 0.719 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003487/0.203, allocations: 1.814 MB / 0.7208 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002169/0.2052, allocations: 1.198 MB / 0.7219 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.2053, allocations: 3.938 kB / 0.7219 GB, free: 12.38 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.2059, allocations: 179.5 kB / 0.7221 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.2063, allocations: 154.8 kB / 0.7223 GB, free: 12.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003949/0.2067, allocations: 139.6 kB / 0.7224 GB, free: 11.92 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.207, allocations: 179.5 kB / 0.7226 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2071, allocations: 17.23 kB / 0.7226 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.2072, allocations: 83.69 kB / 0.7227 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.2073, allocations: 79.67 kB / 0.7227 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.2074, allocations: 8 kB / 0.7227 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.2075, allocations: 63.95 kB / 0.7228 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.36e-05/0.2076, allocations: 47.83 kB / 0.7228 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.2077, allocations: 63.55 kB / 0.7229 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003058/0.208, allocations: 207.2 kB / 0.7231 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.208, allocations: 0 / 0.7231 GB, free: 11.18 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.452e-06/0.208, allocations: 0 / 0.7231 GB, free: 11.18 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.208, allocations: 0 / 0.7231 GB, free: 11.18 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.0008238/0.2088, allocations: 434.8 kB / 0.7235 GB, free: 10.72 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.2089, allocations: 12.03 kB / 0.7235 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.153e-05/0.2089, allocations: 38.73 kB / 0.7236 GB, free: 10.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.209, allocations: 16.84 kB / 0.7236 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.2093, allocations: 194.1 kB / 0.7238 GB, free: 10.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.2093, allocations: 8.375 kB / 0.7238 GB, free: 10.42 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.2093, allocations: 7.938 kB / 0.7238 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.2095, allocations: 95.31 kB / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.2095, allocations: 0 / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2095, allocations: 0 / 0.7239 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.2096, allocations: 7.984 kB / 0.7239 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.2097, allocations: 39.92 kB / 0.7239 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/0.2102, allocations: 323.7 kB / 0.7242 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.2104, allocations: 78.61 kB / 0.7243 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.17e-05/0.2105, allocations: 32.84 kB / 0.7243 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2105, allocations: 3.984 kB / 0.7243 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00017/0.2107, allocations: 79.38 kB / 0.7244 GB, free: 9.688 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.352e-06/0.2107, allocations: 0 / 0.7244 GB, free: 9.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0003629/0.211, allocations: 141.8 kB / 0.7246 GB, free: 9.543 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.656e-05/0.2111, allocations: 89.05 kB / 0.7246 GB, free: 9.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.2114, allocations: 283 kB / 0.7249 GB, free: 9.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.2114, allocations: 25.7 kB / 0.7249 GB, free: 9.121 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.2115, allocations: 116.1 kB / 0.725 GB, free: 9.004 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.2115, allocations: 31.78 kB / 0.7251 GB, free: 8.973 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.2116, allocations: 25.7 kB / 0.7251 GB, free: 8.941 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2117, allocations: 334.8 kB / 0.7254 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.274e-05/0.2118, allocations: 24 kB / 0.7254 GB, free: 8.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.2e-05/0.2119, allocations: 63.41 kB / 0.7255 GB, free: 8.508 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.212, allocations: 69.7 kB / 0.7256 GB, free: 8.434 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.212, allocations: 0 / 0.7256 GB, free: 8.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000219/0.2123, allocations: 117.6 kB / 0.7257 GB, free: 8.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.2123, allocations: 6.031 kB / 0.7257 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2123, allocations: 8.078 kB / 0.7257 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2123, allocations: 0 / 0.7257 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.432e-05/0.2124, allocations: 15.98 kB / 0.7257 GB, free: 8.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2124, allocations: 3.984 kB / 0.7257 GB, free: 8.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.302e-05/0.2125, allocations: 11.89 kB / 0.7257 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.2125, allocations: 112 / 0.7257 GB, free: 8.27 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.0001524/0.2126, allocations: 146.5 kB / 0.7259 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.924e-05/0.2127, allocations: 15.91 kB / 0.7259 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.2129, allocations: 135 kB / 0.726 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.2129, allocations: 0 / 0.726 GB, free: 7.957 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.2129, allocations: 4 kB / 0.726 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2129, allocations: 3.938 kB / 0.726 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.2132, allocations: 196.6 kB / 0.7262 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2132, allocations: 0 / 0.7262 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.98e-05/0.2132, allocations: 4 kB / 0.7262 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.2132, allocations: 11.98 kB / 0.7262 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.2132, allocations: 0 / 0.7262 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2132, allocations: 0 / 0.7262 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2132, allocations: 0 / 0.7262 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002557/0.2135, allocations: 152.9 kB / 0.7264 GB, free: 7.531 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.2135, allocations: 23.83 kB / 0.7264 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.2135, allocations: 0 / 0.7264 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.1e-05/0.2136, allocations: 8 kB / 0.7264 GB, free: 7.5 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/0.2136, allocations: 11.92 kB / 0.7264 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.2136, allocations: 0 / 0.7264 GB, free: 7.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002208/0.2139, allocations: 208.6 kB / 0.7266 GB, free: 7.285 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2139, allocations: 0 / 0.7266 GB, free: 7.285 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002637/0.2141, allocations: 35.89 kB / 0.7266 GB, free: 7.25 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.nextTimeEvent,booTab.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.002029/0.2162, allocations: 0.988 MB / 0.7276 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002325/0.2164, allocations: 71.91 kB / 0.7277 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2164, allocations: 0 / 0.7277 GB, free: 6.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.2165, allocations: 35.92 kB / 0.7277 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/0.2168, allocations: 43.33 kB / 0.7277 GB, free: 6.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.2194, allocations: 1.996 MB / 0.7297 GB, free: 4.168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.2198, allocations: 0.728 MB / 0.7304 GB, free: 3.414 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.023e-05/0.2198, allocations: 25.7 kB / 0.7304 GB, free: 3.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.777e-05/0.2199, allocations: 51.42 kB / 0.7305 GB, free: 3.34 MB / 0.545 GB Notification: Performance of SimCode: time 3.71e-07/0.2199, allocations: 0 / 0.7305 GB, free: 3.34 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03381/0.2537, allocations: 4.795 MB / 0.7352 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.84/11.09, allocations: 3.969 kB / 0.7352 GB, free: 14.63 MB / 0.5606 GB " [Timeout remaining time 649] (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: 14.943218512002204] Failed to read output from testmodel.py, exit status != 0: 11.258915029997297 11.288442399000001 11.075230696 Calling exit ...