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.001534/0.001534, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.001858/0.001858, allocations: 217.3 kB / 23.04 MB, free: 5.074 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.424/1.424, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.002554/0.002554, allocations: 290 kB / 313.5 MB, free: 2.812 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.272/1.272, allocations: 180.6 MB / 0.5377 GB, free: 13.04 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator",fmuType="cs",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.002769/0.002769, allocations: 99.12 kB / 0.7404 GB, free: 28.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1836, allocations: 95.39 MB / 0.8335 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.003163/0.1867, allocations: 1.835 MB / 0.8353 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001924/0.1887, allocations: 1.197 MB / 0.8365 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.551e-05/0.1887, allocations: 3.938 kB / 0.8365 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005932/0.1893, allocations: 163.5 kB / 0.8366 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.1897, allocations: 160.1 kB / 0.8368 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003847/0.1901, allocations: 141.7 kB / 0.8369 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.1903, allocations: 175.5 kB / 0.8371 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.667e-05/0.1904, allocations: 25.02 kB / 0.8371 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.1906, allocations: 71.75 kB / 0.8372 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.1907, allocations: 79.67 kB / 0.8372 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.1907, allocations: 8 kB / 0.8373 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.1909, allocations: 71.89 kB / 0.8373 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.228e-05/0.1909, allocations: 47.83 kB / 0.8374 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.378e-05/0.191, allocations: 59.61 kB / 0.8374 GB, free: 4.586 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.1913, allocations: 219.3 kB / 0.8376 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1913, allocations: 0 / 0.8376 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1913, allocations: 0 / 0.8376 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1913, allocations: 0 / 0.8376 GB, free: 4.371 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.0006855/0.192, allocations: 430.8 kB / 0.838 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.192, allocations: 13.34 kB / 0.8381 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.327e-05/0.192, allocations: 192 / 0.8381 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.183e-05/0.1921, allocations: 34.75 kB / 0.8381 GB, free: 3.859 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.1921, allocations: 20.84 kB / 0.8381 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.1924, allocations: 198 kB / 0.8383 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1924, allocations: 8.125 kB / 0.8383 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1924, allocations: 11.98 kB / 0.8383 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1926, allocations: 83.38 kB / 0.8384 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1926, allocations: 0 / 0.8384 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1926, allocations: 3.938 kB / 0.8384 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.1927, allocations: 4 kB / 0.8384 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.1928, allocations: 47.91 kB / 0.8385 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.1933, allocations: 315.8 kB / 0.8388 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1934, allocations: 74.61 kB / 0.8388 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.051e-05/0.1935, allocations: 32.84 kB / 0.8389 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1935, allocations: 8.094 kB / 0.8389 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.1937, allocations: 87.31 kB / 0.8389 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1937, allocations: 0 / 0.8389 GB, free: 2.879 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003391/0.1941, allocations: 141.5 kB / 0.8391 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.1941, allocations: 81.11 kB / 0.8392 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/0.1944, allocations: 279 kB / 0.8394 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1944, allocations: 25.7 kB / 0.8395 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.1945, allocations: 124.1 kB / 0.8396 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.1945, allocations: 23.8 kB / 0.8396 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.269e-05/0.1946, allocations: 29.7 kB / 0.8396 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1948, allocations: 326.8 kB / 0.8399 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.1948, allocations: 27.98 kB / 0.84 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.834e-05/0.1949, allocations: 67.33 kB / 0.84 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1951, allocations: 74.11 kB / 0.8401 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1951, allocations: 0 / 0.8401 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002117/0.1953, allocations: 121.5 kB / 0.8402 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1953, allocations: 4 kB / 0.8402 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1953, allocations: 0 / 0.8402 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.1953, allocations: 0 / 0.8402 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.472e-05/0.1954, allocations: 15.94 kB / 0.8402 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1954, allocations: 7.922 kB / 0.8402 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.907e-05/0.1954, allocations: 11.98 kB / 0.8402 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1955, allocations: 4 kB / 0.8403 GB, free: 1.457 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.0001338/0.1956, allocations: 139 kB / 0.8404 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.1956, allocations: 15.91 kB / 0.8404 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.1959, allocations: 123.2 kB / 0.8405 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.58e-05/0.1959, allocations: 7.984 kB / 0.8405 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1959, allocations: 3.938 kB / 0.8405 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.1959, allocations: 4 kB / 0.8405 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.1961, allocations: 200.5 kB / 0.8407 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1961, allocations: 7.938 kB / 0.8407 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.974e-05/0.1961, allocations: 0 / 0.8407 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.1961, allocations: 4 kB / 0.8407 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1961, allocations: 4 kB / 0.8407 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1961, allocations: 3.984 kB / 0.8407 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1961, allocations: 4.016 kB / 0.8407 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.1964, allocations: 148.9 kB / 0.8409 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.1964, allocations: 11.91 kB / 0.8409 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.1964, allocations: 7.984 kB / 0.8409 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.965e-05/0.1965, allocations: 4 kB / 0.8409 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.908e-05/0.1965, allocations: 19.86 kB / 0.8409 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1965, allocations: 0 / 0.8409 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001917/0.1967, allocations: 195.2 kB / 0.8411 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1967, allocations: 0 / 0.8411 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002421/0.197, allocations: 39.88 kB / 0.8412 GB, free: 464 kB / 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.001944/0.1989, allocations: 0.9955 MB / 0.8421 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.1991, allocations: 75.84 kB / 0.8422 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1991, allocations: 0 / 0.8422 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.322e-05/0.1992, allocations: 36.05 kB / 0.8422 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.1995, allocations: 44.52 kB / 0.8423 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.2018, allocations: 1.99 MB / 0.8442 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.2021, allocations: 0.7241 MB / 0.8449 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.348e-05/0.2022, allocations: 29.7 kB / 0.845 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.165e-05/0.2023, allocations: 47.42 kB / 0.845 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of SimCode: time 4.81e-07/0.2023, allocations: 0 / 0.845 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02471/0.227, allocations: 4.827 MB / 0.8497 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.5, allocations: 21.36 kB / 0.8497 GB, free: 7.801 MB / 0.5919 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --stepSize=0.24 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BooleanReplicator.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.8470518309623] Failed to read output from testmodel.py, exit status != 0: 11.713328769954387 11.730507739 11.536246531 Calling exit ...