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.001311/0.001311, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001462/0.001462, allocations: 224.9 kB / 23.01 MB, free: 5.004 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.961 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.951/0.951, allocations: 150 MB / 463.2 MB, free: 10.48 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.002043/0.002043, allocations: 72.62 kB / 0.6413 GB, free: 10.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1891, allocations: 89.16 MB / 0.7284 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003519/0.1926, allocations: 1.827 MB / 0.7301 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1947, allocations: 1.189 MB / 0.7313 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.1948, allocations: 7.938 kB / 0.7313 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007124/0.1955, allocations: 171.5 kB / 0.7315 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0004613/0.196, allocations: 155.5 kB / 0.7316 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.1964, allocations: 155.5 kB / 0.7318 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.1966, allocations: 171.5 kB / 0.7319 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1968, allocations: 13.31 kB / 0.7319 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.1969, allocations: 75.69 kB / 0.732 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.197, allocations: 79.67 kB / 0.7321 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.197, allocations: 8 kB / 0.7321 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001654/0.1972, allocations: 75.94 kB / 0.7322 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.489e-05/0.1973, allocations: 43.84 kB / 0.7322 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.909e-05/0.1974, allocations: 67.53 kB / 0.7323 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003076/0.1977, allocations: 195.5 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1977, allocations: 0 / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1977, allocations: 4 kB / 0.7325 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1977, allocations: 0 / 0.7325 GB, free: 13.05 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.0007397/0.1984, allocations: 442.8 kB / 0.7329 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1984, allocations: 8.031 kB / 0.7329 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.362e-05/0.1985, allocations: 38.75 kB / 0.7329 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.1985, allocations: 20.8 kB / 0.733 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.1988, allocations: 190.1 kB / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1989, allocations: 4.375 kB / 0.7331 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.1989, allocations: 11.94 kB / 0.7331 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.1991, allocations: 87.31 kB / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1991, allocations: 0 / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1991, allocations: 4 kB / 0.7332 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.1991, allocations: 4 kB / 0.7332 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.676e-05/0.1992, allocations: 35.92 kB / 0.7333 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/0.1998, allocations: 327.8 kB / 0.7336 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002005/0.2, allocations: 70.61 kB / 0.7337 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.414e-05/0.2, allocations: 36.83 kB / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.2, allocations: 0 / 0.7337 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.2002, allocations: 87.38 kB / 0.7338 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.562e-06/0.2002, allocations: 3.938 kB / 0.7338 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0003615/0.2006, allocations: 145.4 kB / 0.7339 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/0.2006, allocations: 81.11 kB / 0.734 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003054/0.2009, allocations: 271.1 kB / 0.7343 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.201, allocations: 29.7 kB / 0.7343 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.2011, allocations: 116.1 kB / 0.7344 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.2011, allocations: 27.78 kB / 0.7344 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.2011, allocations: 33.7 kB / 0.7344 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2013, allocations: 326.8 kB / 0.7348 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.981e-05/0.2014, allocations: 27.98 kB / 0.7348 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.2014, allocations: 59.42 kB / 0.7348 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2016, allocations: 69.69 kB / 0.7349 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2016, allocations: 0 / 0.7349 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002175/0.2018, allocations: 129.5 kB / 0.735 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2018, allocations: 4 kB / 0.735 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2018, allocations: 7.938 kB / 0.735 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2018, allocations: 4 kB / 0.735 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.358e-05/0.2019, allocations: 8.375 kB / 0.7351 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.2019, allocations: 0 / 0.7351 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.077e-05/0.202, allocations: 7.938 kB / 0.7351 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.202, allocations: 11.98 kB / 0.7351 GB, free: 10.14 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.0001326/0.2021, allocations: 145.9 kB / 0.7352 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.2022, allocations: 23.8 kB / 0.7352 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.2024, allocations: 127 kB / 0.7354 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.2024, allocations: 4 kB / 0.7354 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2024, allocations: 0 / 0.7354 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.2024, allocations: 3.938 kB / 0.7354 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.2026, allocations: 200.6 kB / 0.7356 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2026, allocations: 0 / 0.7356 GB, free: 9.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.2027, allocations: 4 kB / 0.7356 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.2027, allocations: 4 kB / 0.7356 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.2027, allocations: 0 / 0.7356 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2027, allocations: 0 / 0.7356 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2027, allocations: 0 / 0.7356 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.2029, allocations: 156.8 kB / 0.7357 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.101e-05/0.203, allocations: 11.91 kB / 0.7357 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.203, allocations: 4 kB / 0.7357 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.279e-05/0.2031, allocations: 11.98 kB / 0.7357 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.588e-05/0.2031, allocations: 7.938 kB / 0.7357 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.2031, allocations: 0 / 0.7357 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002261/0.2033, allocations: 212.5 kB / 0.736 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2033, allocations: 0 / 0.736 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002485/0.2036, allocations: 27.94 kB / 0.736 GB, free: 9.137 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 (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.001989/0.2056, allocations: 1.002 MB / 0.737 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.2058, allocations: 71.91 kB / 0.737 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2058, allocations: 0 / 0.737 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.51e-05/0.2059, allocations: 35.92 kB / 0.7371 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.2062, allocations: 42.19 kB / 0.7371 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.2086, allocations: 1.993 MB / 0.739 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.2089, allocations: 0.7241 MB / 0.7398 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.006e-05/0.209, allocations: 29.7 kB / 0.7398 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.737e-05/0.2091, allocations: 51.42 kB / 0.7398 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of SimCode: time 6.91e-07/0.2091, allocations: 0 / 0.7398 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.2406, allocations: 4.791 MB / 0.7445 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.53, allocations: 7.984 kB / 0.7445 GB, free: 0.5312 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.514531528999214] Failed to read output from testmodel.py, exit status != 0: 11.696599980001338 11.726135407 11.52303187 Calling exit ...