Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001769/0.001769, allocations: 111.7 kB / 16.46 MB, free: 6.508 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.002207/0.002207, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.561/1.561, allocations: 230.6 MB / 252.8 MB, free: 9.125 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002405/0.002405, allocations: 285.6 kB / 309.1 MB, free: 3.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.235/1.235, allocations: 180.9 MB / 0.5333 GB, free: 13.72 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002783/0.002783, allocations: 99.84 kB / 0.7343 GB, free: 28.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1821, allocations: 95.34 MB / 0.8274 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003337/0.1854, allocations: 1.829 MB / 0.8291 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002115/0.1876, allocations: 1.178 MB / 0.8303 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.876e-05/0.1876, allocations: 7.938 kB / 0.8303 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005897/0.1882, allocations: 167.5 kB / 0.8305 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.1886, allocations: 151.5 kB / 0.8306 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.189, allocations: 134.8 kB / 0.8307 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.1892, allocations: 179.5 kB / 0.8309 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.877e-05/0.1893, allocations: 16.91 kB / 0.8309 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.1894, allocations: 79.73 kB / 0.831 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001203/0.1895, allocations: 79.67 kB / 0.8311 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1896, allocations: 11.94 kB / 0.8311 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1897, allocations: 59.97 kB / 0.8311 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.721e-05/0.1898, allocations: 47.83 kB / 0.8312 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.598e-05/0.1898, allocations: 59.61 kB / 0.8312 GB, free: 5.844 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.1902, allocations: 215.3 kB / 0.8315 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1902, allocations: 0 / 0.8315 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.1902, allocations: 0 / 0.8315 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.517e-06/0.1902, allocations: 0 / 0.8315 GB, free: 5.633 MB / 0.5762 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.0007643/0.1909, allocations: 0.5 MB / 0.8319 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.191, allocations: 8.031 kB / 0.8319 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.191, allocations: 38.73 kB / 0.832 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.1911, allocations: 16.84 kB / 0.832 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.1914, allocations: 255.9 kB / 0.8322 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.1914, allocations: 4.375 kB / 0.8323 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.1914, allocations: 7.938 kB / 0.8323 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.1916, allocations: 91.31 kB / 0.8323 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.1916, allocations: 0 / 0.8323 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1916, allocations: 8 kB / 0.8324 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.1917, allocations: 0 / 0.8324 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.809e-05/0.1918, allocations: 35.92 kB / 0.8324 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.1923, allocations: 356.6 kB / 0.8327 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.1925, allocations: 74.61 kB / 0.8328 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.377e-05/0.1925, allocations: 32.84 kB / 0.8328 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.1925, allocations: 0 / 0.8328 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.1927, allocations: 83.38 kB / 0.8329 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1927, allocations: 0 / 0.8329 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003478/0.1931, allocations: 141.5 kB / 0.833 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.1931, allocations: 89.09 kB / 0.8331 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.1934, allocations: 275.8 kB / 0.8334 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1934, allocations: 25.7 kB / 0.8334 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.409e-05/0.1935, allocations: 116.1 kB / 0.8335 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.1935, allocations: 27.78 kB / 0.8336 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.894e-05/0.1936, allocations: 29.7 kB / 0.8336 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1937, allocations: 330.8 kB / 0.8339 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.146e-05/0.1938, allocations: 27.98 kB / 0.8339 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.824e-05/0.1939, allocations: 59.36 kB / 0.834 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.194, allocations: 74 kB / 0.8341 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.194, allocations: 4 kB / 0.8341 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002121/0.1942, allocations: 117.5 kB / 0.8342 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1942, allocations: 4 kB / 0.8342 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1943, allocations: 8.062 kB / 0.8342 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1943, allocations: 0 / 0.8342 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.1943, allocations: 11.94 kB / 0.8342 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.1943, allocations: 0 / 0.8342 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.1944, allocations: 15.89 kB / 0.8342 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1944, allocations: 7.984 kB / 0.8342 GB, free: 2.531 MB / 0.5762 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.0001281/0.1945, allocations: 139.5 kB / 0.8343 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.1946, allocations: 19.89 kB / 0.8344 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.1946, allocations: 21.52 kB / 0.8344 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.1946, allocations: 15.92 kB / 0.8344 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1946, allocations: 0 / 0.8344 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1946, allocations: 3.938 kB / 0.8344 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.1948, allocations: 229.5 kB / 0.8346 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1948, allocations: 0 / 0.8346 GB, free: 2.055 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.1949, allocations: 4 kB / 0.8346 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1949, allocations: 0 / 0.8346 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1949, allocations: 3.984 kB / 0.8346 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1949, allocations: 0 / 0.8346 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1949, allocations: 7.938 kB / 0.8346 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002398/0.1951, allocations: 144.9 kB / 0.8348 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.1952, allocations: 97 kB / 0.8349 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1952, allocations: 0 / 0.8349 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.242e-05/0.1953, allocations: 4 kB / 0.8349 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.1953, allocations: 11.92 kB / 0.8349 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.1953, allocations: 7.938 kB / 0.8349 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002013/0.1955, allocations: 204.6 kB / 0.8351 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1955, allocations: 4 kB / 0.8351 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002428/0.1958, allocations: 39.81 kB / 0.8351 GB, free: 1.5 MB / 0.5762 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.001995/0.1978, allocations: 0.9909 MB / 0.8361 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002295/0.198, allocations: 71.91 kB / 0.8362 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.198, allocations: 0 / 0.8362 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.984e-05/0.1981, allocations: 35.92 kB / 0.8362 GB, free: 0.5352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.1984, allocations: 39.17 kB / 0.8362 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.2008, allocations: 1.987 MB / 0.8382 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.2011, allocations: 0.728 MB / 0.8389 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.088e-05/0.2012, allocations: 29.7 kB / 0.8389 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.301e-05/0.2012, allocations: 47.42 kB / 0.839 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.2012, allocations: 0 / 0.839 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02563/0.2269, allocations: 4.648 MB / 0.8435 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.438, allocations: 3.25 kB / 0.8435 GB, free: 9.055 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.93966461205855] Failed to read output from testmodel.py, exit status != 0: 8.56748372502625 8.582112419 8.389127167 Calling exit ...