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.00146/0.00146, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001521/0.001521, allocations: 204 kB / 20.09 MB, free: 2.977 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.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9858/0.9858, allocations: 150 MB / 459.5 MB, free: 5.672 MB / 350.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.002061/0.002061, allocations: 71.92 kB / 0.6361 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1915, allocations: 89.13 MB / 0.7232 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003512/0.195, allocations: 1.814 MB / 0.7249 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1971, allocations: 1.177 MB / 0.7261 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1972, allocations: 3.938 kB / 0.7261 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006928/0.1979, allocations: 171.5 kB / 0.7263 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004058/0.1983, allocations: 147.5 kB / 0.7264 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004119/0.1987, allocations: 139.6 kB / 0.7265 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.1989, allocations: 175.5 kB / 0.7267 GB, free: 396 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.199, allocations: 17.06 kB / 0.7267 GB, free: 380 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.1992, allocations: 83.67 kB / 0.7268 GB, free: 296 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.1993, allocations: 75.73 kB / 0.7269 GB, free: 220 kB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.1993, allocations: 8 kB / 0.7269 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.1995, allocations: 59.91 kB / 0.7269 GB, free: 152 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.407e-05/0.1995, allocations: 43.84 kB / 0.727 GB, free: 108 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.976e-05/0.1996, allocations: 67.59 kB / 0.727 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004024/0.2, allocations: 215.3 kB / 0.7272 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.2, allocations: 0 / 0.7272 GB, free: 15.83 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2, allocations: 0 / 0.7272 GB, free: 15.83 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.2, allocations: 4 kB / 0.7272 GB, free: 15.82 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.0008192/0.2009, allocations: 0.4939 MB / 0.7277 GB, free: 15.28 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2009, allocations: 12.03 kB / 0.7277 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.2009, allocations: 38.73 kB / 0.7278 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.504e-05/0.201, allocations: 20.8 kB / 0.7278 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.2014, allocations: 255.9 kB / 0.728 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.2014, allocations: 4.375 kB / 0.728 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.2014, allocations: 11.88 kB / 0.7281 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.2016, allocations: 95.09 kB / 0.7281 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2016, allocations: 3.984 kB / 0.7281 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.2016, allocations: 0 / 0.7281 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.2016, allocations: 4 kB / 0.7282 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.2018, allocations: 39.92 kB / 0.7282 GB, free: 14.75 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.2023, allocations: 344.8 kB / 0.7285 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.2026, allocations: 74.61 kB / 0.7286 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.2026, allocations: 28.84 kB / 0.7286 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.2027, allocations: 4 kB / 0.7286 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.2028, allocations: 75.39 kB / 0.7287 GB, free: 14.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.2028, allocations: 0 / 0.7287 GB, free: 14.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0004004/0.2032, allocations: 157.7 kB / 0.7288 GB, free: 14 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.2033, allocations: 85.03 kB / 0.7289 GB, free: 13.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003417/0.2037, allocations: 271.1 kB / 0.7292 GB, free: 13.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.2037, allocations: 29.7 kB / 0.7292 GB, free: 13.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.2038, allocations: 120.1 kB / 0.7293 GB, free: 13.46 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.2038, allocations: 23.78 kB / 0.7293 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.471e-05/0.2039, allocations: 33.7 kB / 0.7294 GB, free: 13.4 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.2041, allocations: 330.8 kB / 0.7297 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.393e-05/0.2041, allocations: 27.98 kB / 0.7297 GB, free: 13.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.707e-05/0.2042, allocations: 59.36 kB / 0.7298 GB, free: 12.97 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2044, allocations: 73.69 kB / 0.7298 GB, free: 12.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2044, allocations: 0 / 0.7298 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002416/0.2046, allocations: 113.6 kB / 0.73 GB, free: 12.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.2046, allocations: 13.7 kB / 0.73 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2047, allocations: 0 / 0.73 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.2047, allocations: 0 / 0.73 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.884e-05/0.2048, allocations: 19.94 kB / 0.73 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.2048, allocations: 0 / 0.73 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.552e-05/0.2048, allocations: 11.89 kB / 0.73 GB, free: 12.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.2048, allocations: 7.969 kB / 0.73 GB, free: 12.72 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.0001532/0.205, allocations: 141.8 kB / 0.7301 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/0.205, allocations: 19.91 kB / 0.7302 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.649e-05/0.2051, allocations: 13.41 kB / 0.7302 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.2051, allocations: 7.984 kB / 0.7302 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.2051, allocations: 0 / 0.7302 GB, free: 12.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.2051, allocations: 7.938 kB / 0.7302 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.2054, allocations: 225.6 kB / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.2054, allocations: 3.938 kB / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.2054, allocations: 4 kB / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.2054, allocations: 0 / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2054, allocations: 3.984 kB / 0.7304 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2054, allocations: 8 kB / 0.7304 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2054, allocations: 0 / 0.7304 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.2057, allocations: 148.8 kB / 0.7306 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/0.2057, allocations: 93 kB / 0.7307 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.2058, allocations: 4 kB / 0.7307 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.21e-05/0.2058, allocations: 4 kB / 0.7307 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.2059, allocations: 11.92 kB / 0.7307 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.2059, allocations: 8 kB / 0.7307 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002207/0.2061, allocations: 200.6 kB / 0.7309 GB, free: 11.74 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2061, allocations: 0 / 0.7309 GB, free: 11.74 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002631/0.2064, allocations: 39.91 kB / 0.7309 GB, free: 11.7 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.002119/0.2085, allocations: 0.9942 MB / 0.7319 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.2087, allocations: 71.91 kB / 0.732 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2087, allocations: 0 / 0.732 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.2088, allocations: 35.92 kB / 0.732 GB, free: 10.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.2092, allocations: 44.64 kB / 0.732 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.2119, allocations: 1.995 MB / 0.734 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003884/0.2123, allocations: 0.728 MB / 0.7347 GB, free: 7.883 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.961e-05/0.2124, allocations: 29.39 kB / 0.7347 GB, free: 7.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.145e-05/0.2124, allocations: 47.42 kB / 0.7348 GB, free: 7.809 MB / 0.545 GB Notification: Performance of SimCode: time 1.012e-06/0.2124, allocations: 4 kB / 0.7348 GB, free: 7.805 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03706/0.2495, allocations: 4.63 MB / 0.7393 GB, free: 3.242 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.499, allocations: 8.953 kB / 0.7393 GB, free: 3.238 MB / 0.545 GB " [Timeout remaining time 651] (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: 12.558933957014233] Failed to read output from testmodel.py, exit status != 0: 8.627440162934363 8.656106144 8.450993836 Calling exit ...