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.0014/0.0014, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001595/0.001595, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.781 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.002634/0.002634, allocations: 291.8 kB / 312.7 MB, free: 2.598 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.206/1.206, allocations: 180.6 MB / 0.5369 GB, free: 14.55 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: translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator") [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.003081/0.003081, allocations: 101.7 kB / 0.74 GB, free: 27.71 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1837, allocations: 95.37 MB / 0.8331 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BooleanReplicator): time 0.004097/0.1878, allocations: 1.802 MB / 0.8349 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002386/0.1902, allocations: 1.119 MB / 0.836 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1904, allocations: 0 / 0.836 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007403/0.1911, allocations: 167.5 kB / 0.8361 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004925/0.1916, allocations: 159.5 kB / 0.8363 GB, free: 4.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004772/0.1921, allocations: 140.2 kB / 0.8364 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003141/0.1924, allocations: 171.5 kB / 0.8366 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.1925, allocations: 17.28 kB / 0.8366 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1927, allocations: 71.7 kB / 0.8367 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001722/0.1928, allocations: 79.67 kB / 0.8367 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.1929, allocations: 8 kB / 0.8368 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001956/0.1931, allocations: 67.94 kB / 0.8368 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.504e-05/0.1932, allocations: 47.84 kB / 0.8369 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.071e-05/0.1933, allocations: 51.66 kB / 0.8369 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.1936, allocations: 207.1 kB / 0.8371 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1936, allocations: 0 / 0.8371 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1936, allocations: 0 / 0.8371 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.1937, allocations: 0 / 0.8371 GB, free: 3.711 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.0008289/0.1945, allocations: 446.7 kB / 0.8375 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1945, allocations: 13.94 kB / 0.8376 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.491e-05/0.1946, allocations: 12.84 kB / 0.8376 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003435/0.1949, allocations: 198.1 kB / 0.8378 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.1949, allocations: 4.375 kB / 0.8378 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.16e-05/0.195, allocations: 12.06 kB / 0.8378 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.1952, allocations: 69.66 kB / 0.8378 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1952, allocations: 4 kB / 0.8378 GB, free: 2.902 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1952, allocations: 4 kB / 0.8378 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.1952, allocations: 0 / 0.8378 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1953, allocations: 35.92 kB / 0.8379 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005345/0.1958, allocations: 292.3 kB / 0.8382 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.196, allocations: 74.61 kB / 0.8382 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.1961, allocations: 36.84 kB / 0.8383 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.1961, allocations: 0 / 0.8383 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.1963, allocations: 83.38 kB / 0.8383 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 3.707e-06/0.1963, allocations: 3.984 kB / 0.8383 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0003834/0.1967, allocations: 149.6 kB / 0.8385 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.1967, allocations: 59.33 kB / 0.8385 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.1971, allocations: 271.2 kB / 0.8388 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.381e-05/0.1971, allocations: 29.7 kB / 0.8388 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1972, allocations: 124.1 kB / 0.839 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.1972, allocations: 31.78 kB / 0.839 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.1973, allocations: 25.7 kB / 0.839 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1974, allocations: 334.8 kB / 0.8393 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.1975, allocations: 27.98 kB / 0.8394 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.1976, allocations: 88.19 kB / 0.8394 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1978, allocations: 74.02 kB / 0.8395 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1978, allocations: 0 / 0.8395 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002284/0.198, allocations: 117.5 kB / 0.8396 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.198, allocations: 8.062 kB / 0.8396 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.198, allocations: 0 / 0.8396 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.198, allocations: 4 kB / 0.8396 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.1981, allocations: 15.92 kB / 0.8396 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.1981, allocations: 0 / 0.8396 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.1982, allocations: 15.95 kB / 0.8397 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.1982, allocations: 4 kB / 0.8397 GB, free: 0.8945 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.000135/0.1983, allocations: 146.4 kB / 0.8398 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.1984, allocations: 15.91 kB / 0.8398 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.1986, allocations: 135 kB / 0.8399 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.295e-06/0.1986, allocations: 0 / 0.8399 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1986, allocations: 4 kB / 0.84 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1987, allocations: 0 / 0.84 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.1988, allocations: 173 kB / 0.8401 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1988, allocations: 0 / 0.8401 GB, free: 392 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.047e-05/0.1989, allocations: 4 kB / 0.8401 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.1989, allocations: 4 kB / 0.8401 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1989, allocations: 0 / 0.8401 GB, free: 384 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1989, allocations: 3.984 kB / 0.8401 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1989, allocations: 0 / 0.8401 GB, free: 380 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000252/0.1991, allocations: 156.9 kB / 0.8403 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.653e-05/0.1992, allocations: 19.89 kB / 0.8403 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.1992, allocations: 4 kB / 0.8403 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.897e-05/0.1993, allocations: 0 / 0.8403 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.1993, allocations: 11.98 kB / 0.8403 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1993, allocations: 4 kB / 0.8403 GB, free: 164 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00023/0.1995, allocations: 203.1 kB / 0.8405 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.1995, allocations: 3.938 kB / 0.8405 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002543/0.1998, allocations: 35.89 kB / 0.8405 GB, free: 15.92 MB / 0.5919 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 (8): * Single equations (assignments): 5 * 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.001685/0.2015, allocations: 454.2 kB / 0.841 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.2017, allocations: 71.91 kB / 0.841 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2017, allocations: 4 kB / 0.8411 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 9.211e-05/0.2018, allocations: 36.08 kB / 0.8411 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2021, allocations: 45.56 kB / 0.8411 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.2027, allocations: 310.8 kB / 0.8414 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.2028, allocations: 126.5 kB / 0.8415 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 7.499e-05/0.2029, allocations: 21.41 kB / 0.8416 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.203, allocations: 23.42 kB / 0.8416 GB, free: 15 MB / 0.5919 GB Notification: Performance of SimCode: time 3.91e-07/0.203, allocations: 0 / 0.8416 GB, free: 15 MB / 0.5919 GB Notification: Performance of Templates: time 0.006416/0.2094, allocations: 2.503 MB / 0.844 GB, free: 12.53 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.145908955484629] Failed to read output from testmodel.py, exit status != 0: 0.21684759482741356 0.23179784999999994 0.03501706 Calling exit ...