Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001636/0.001636, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001608/0.001608, allocations: 216.2 kB / 22.99 MB, free: 4.973 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.724/1.724, 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/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9987/0.9987, allocations: 149.9 MB / 463 MB, free: 10.38 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.003584/0.003584, allocations: 71.44 kB / 0.6411 GB, free: 10.15 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.213, allocations: 89.18 MB / 0.7282 GB, free: 1.043 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003498/0.2165, allocations: 1.777 MB / 0.7299 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.2189, allocations: 1.107 MB / 0.731 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.219, allocations: 7.938 kB / 0.731 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008045/0.2198, allocations: 171.5 kB / 0.7311 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.2202, allocations: 155.5 kB / 0.7313 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004061/0.2206, allocations: 142.7 kB / 0.7314 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002562/0.2209, allocations: 175.5 kB / 0.7316 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.221, allocations: 17.3 kB / 0.7316 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.2211, allocations: 79.69 kB / 0.7317 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.2213, allocations: 71.73 kB / 0.7318 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.2213, allocations: 12 kB / 0.7318 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.2215, allocations: 75.81 kB / 0.7318 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.2215, allocations: 39.91 kB / 0.7319 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.088e-05/0.2216, allocations: 47.67 kB / 0.7319 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.2219, allocations: 207.4 kB / 0.7321 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2219, allocations: 0 / 0.7321 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2219, allocations: 0 / 0.7321 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2219, allocations: 0 / 0.7321 GB, free: 12.96 MB / 0.5606 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.0007801/0.2227, allocations: 442.8 kB / 0.7325 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.2228, allocations: 8.031 kB / 0.7326 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.989e-05/0.2228, allocations: 38.73 kB / 0.7326 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.2228, allocations: 20.8 kB / 0.7326 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.2232, allocations: 186.2 kB / 0.7328 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.2232, allocations: 4.375 kB / 0.7328 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.834e-05/0.2232, allocations: 7.938 kB / 0.7328 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.2234, allocations: 79.48 kB / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.2234, allocations: 0 / 0.7329 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.2234, allocations: 12 kB / 0.7329 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.2234, allocations: 4 kB / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.2235, allocations: 39.91 kB / 0.7329 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006547/0.2242, allocations: 319.8 kB / 0.7332 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.2244, allocations: 74.61 kB / 0.7333 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.2245, allocations: 28.84 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2245, allocations: 4 kB / 0.7333 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.2247, allocations: 79.38 kB / 0.7334 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.2247, allocations: 0 / 0.7334 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004503/0.2251, allocations: 161.4 kB / 0.7336 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.2252, allocations: 51.41 kB / 0.7336 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.2255, allocations: 275.1 kB / 0.7339 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2256, allocations: 29.7 kB / 0.7339 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.2257, allocations: 124.1 kB / 0.734 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.2257, allocations: 27.78 kB / 0.7341 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.002e-05/0.2257, allocations: 25.72 kB / 0.7341 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.2259, allocations: 330.8 kB / 0.7344 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.443e-05/0.226, allocations: 31.98 kB / 0.7344 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.2261, allocations: 76.2 kB / 0.7345 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.2262, allocations: 81.72 kB / 0.7346 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2262, allocations: 0 / 0.7346 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002119/0.2264, allocations: 117.5 kB / 0.7347 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2265, allocations: 8 kB / 0.7347 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2265, allocations: 0 / 0.7347 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.2265, allocations: 0 / 0.7347 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.2266, allocations: 11.98 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.2266, allocations: 7.938 kB / 0.7347 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.13e-05/0.2266, allocations: 15.92 kB / 0.7347 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-06/0.2267, allocations: 160 / 0.7347 GB, free: 10.07 MB / 0.5606 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.0001698/0.2268, allocations: 145.8 kB / 0.7349 GB, free: 9.918 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.2268, allocations: 12.28 kB / 0.7349 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.2271, allocations: 139.1 kB / 0.735 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.2271, allocations: 4 kB / 0.735 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2271, allocations: 0 / 0.735 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2271, allocations: 7.875 kB / 0.735 GB, free: 9.754 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.2274, allocations: 188.6 kB / 0.7352 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2274, allocations: 4 kB / 0.7352 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.2274, allocations: 11.94 kB / 0.7352 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2274, allocations: 0 / 0.7352 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.2274, allocations: 3.984 kB / 0.7352 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2274, allocations: 4 kB / 0.7352 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2274, allocations: 0 / 0.7352 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.2277, allocations: 163.6 kB / 0.7354 GB, free: 9.328 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.241e-05/0.2277, allocations: 15.91 kB / 0.7354 GB, free: 9.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.2277, allocations: 4 kB / 0.7354 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.548e-05/0.2278, allocations: 0 / 0.7354 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.2278, allocations: 15.92 kB / 0.7354 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.2278, allocations: 8 kB / 0.7354 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002119/0.228, allocations: 208.5 kB / 0.7356 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.228, allocations: 0 / 0.7356 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002437/0.2283, allocations: 35.92 kB / 0.7357 GB, free: 9.047 MB / 0.5606 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 (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.002146/0.2304, allocations: 1.035 MB / 0.7367 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.2307, allocations: 71.91 kB / 0.7367 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2307, allocations: 4.062 kB / 0.7367 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.777e-05/0.2308, allocations: 31.98 kB / 0.7368 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.2311, allocations: 37.39 kB / 0.7368 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002477/0.2336, allocations: 2.006 MB / 0.7388 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.2337, allocations: 110.6 kB / 0.7389 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.382e-05/0.2338, allocations: 25.72 kB / 0.7389 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.116e-05/0.2338, allocations: 55.41 kB / 0.7389 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.2338, allocations: 0 / 0.7389 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04315/0.277, allocations: 5.289 MB / 0.7441 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.54, allocations: 2.578 kB / 0.7441 GB, free: 0.5547 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.794907568022609] Failed to read output from testmodel.py, exit status != 0: 11.699185672216117 11.714955282 11.489624263 Calling exit ...