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.001948/0.001948, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002317/0.002317, allocations: 215.4 kB / 22.25 MB, free: 5.113 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002558/0.002558, allocations: 285.1 kB / 312.7 MB, free: 2.824 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.191/1.191, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002882/0.002882, allocations: 100.5 kB / 0.7396 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1815, allocations: 95.38 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.00356/0.1851, allocations: 1.839 MB / 0.8345 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00214/0.1872, allocations: 1.193 MB / 0.8357 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.1873, allocations: 3.938 kB / 0.8357 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006826/0.188, allocations: 171.5 kB / 0.8359 GB, free: 5.449 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004037/0.1884, allocations: 155.5 kB / 0.836 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003958/0.1888, allocations: 140.7 kB / 0.8361 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.1891, allocations: 183.4 kB / 0.8363 GB, free: 4.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1892, allocations: 17.09 kB / 0.8363 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1893, allocations: 71.75 kB / 0.8364 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.1894, allocations: 83.61 kB / 0.8365 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.1895, allocations: 12 kB / 0.8365 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.1897, allocations: 71.94 kB / 0.8366 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.1897, allocations: 47.83 kB / 0.8366 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.301e-05/0.1898, allocations: 55.62 kB / 0.8367 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.1902, allocations: 219.3 kB / 0.8369 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1902, allocations: 0 / 0.8369 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1902, allocations: 0 / 0.8369 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.1902, allocations: 0 / 0.8369 GB, free: 4.41 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.0008738/0.1911, allocations: 426.9 kB / 0.8373 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1912, allocations: 13.34 kB / 0.8373 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.178e-05/0.1912, allocations: 42.73 kB / 0.8373 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.1913, allocations: 16.84 kB / 0.8373 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003908/0.1916, allocations: 198 kB / 0.8375 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.1917, allocations: 4.375 kB / 0.8375 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.1917, allocations: 3.938 kB / 0.8375 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.1919, allocations: 91.31 kB / 0.8376 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.1919, allocations: 4 kB / 0.8376 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.192, allocations: 4 kB / 0.8376 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/0.192, allocations: 0 / 0.8376 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.1921, allocations: 35.92 kB / 0.8377 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.1926, allocations: 335.7 kB / 0.838 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1928, allocations: 70.61 kB / 0.8381 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.1929, allocations: 28.86 kB / 0.8381 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.1929, allocations: 0 / 0.8381 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001809/0.1931, allocations: 83.38 kB / 0.8382 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/0.1931, allocations: 0 / 0.8382 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003846/0.1935, allocations: 145.5 kB / 0.8383 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.989e-05/0.1936, allocations: 77.11 kB / 0.8384 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.1939, allocations: 283 kB / 0.8386 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1939, allocations: 29.7 kB / 0.8387 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.347e-05/0.194, allocations: 116.1 kB / 0.8388 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.339e-05/0.194, allocations: 23.78 kB / 0.8388 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-05/0.1941, allocations: 29.7 kB / 0.8388 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1942, allocations: 338.8 kB / 0.8392 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.768e-05/0.1943, allocations: 27.98 kB / 0.8392 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.1944, allocations: 63.36 kB / 0.8392 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.1945, allocations: 74.02 kB / 0.8393 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1945, allocations: 0 / 0.8393 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000201/0.1947, allocations: 109.5 kB / 0.8394 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1948, allocations: 9.719 kB / 0.8394 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1948, allocations: 0 / 0.8394 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1948, allocations: 0 / 0.8394 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.96e-05/0.1949, allocations: 23.98 kB / 0.8395 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.1949, allocations: 4 kB / 0.8395 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.1949, allocations: 7.891 kB / 0.8395 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1949, allocations: 4 kB / 0.8395 GB, free: 1.512 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.0001981/0.1951, allocations: 151 kB / 0.8396 GB, free: 1.355 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.1952, allocations: 19.89 kB / 0.8396 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.1954, allocations: 119.1 kB / 0.8397 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.1954, allocations: 11.94 kB / 0.8398 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1954, allocations: 0 / 0.8398 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1954, allocations: 3.938 kB / 0.8398 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.1957, allocations: 204.5 kB / 0.84 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1957, allocations: 0 / 0.84 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.581e-05/0.1957, allocations: 7.984 kB / 0.84 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1957, allocations: 0 / 0.84 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1957, allocations: 0 / 0.84 GB, free: 0.9453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1957, allocations: 4 kB / 0.84 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1957, allocations: 0 / 0.84 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.196, allocations: 152.9 kB / 0.8401 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.86e-05/0.196, allocations: 15.84 kB / 0.8401 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.196, allocations: 4 kB / 0.8401 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.749e-05/0.1961, allocations: 4 kB / 0.8401 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.1961, allocations: 11.92 kB / 0.8401 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1961, allocations: 4 kB / 0.8402 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002029/0.1963, allocations: 199.2 kB / 0.8403 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1963, allocations: 0 / 0.8403 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002441/0.1966, allocations: 39.89 kB / 0.8404 GB, free: 0.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.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.002045/0.1986, allocations: 0.9967 MB / 0.8414 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.1989, allocations: 79.89 kB / 0.8414 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1989, allocations: 4.062 kB / 0.8414 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 7.88e-05/0.1989, allocations: 31.94 kB / 0.8415 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.1992, allocations: 41.83 kB / 0.8415 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.2016, allocations: 1.987 MB / 0.8434 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.202, allocations: 0.728 MB / 0.8442 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.022e-05/0.2021, allocations: 17.73 kB / 0.8442 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.2021, allocations: 51.42 kB / 0.8442 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.2021, allocations: 0 / 0.8442 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03156/0.2337, allocations: 4.81 MB / 0.8489 GB, free: 7.871 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.87, allocations: 4.797 kB / 0.8489 GB, free: 7.871 MB / 0.5919 GB " [Timeout remaining time 649] (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: 15.177534964001097] Failed to read output from testmodel.py, exit status != 0: 11.027084698998806 11.052744699 10.858034061 Calling exit ...