Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") translateModel(Buildings.Utilities.Math.Examples.BooleanReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5726/0.5726, allocations: 94.69 MB / 107.2 MB, free: 5.184 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001133/0.001133, allocations: 173.7 kB / 130.7 MB, free: 7.559 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.563/1.563, allocations: 170.5 MB / 324.5 MB, free: 4.074 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001637/0.001637, allocations: 112.7 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.174e-05/4.176e-05, allocations: 7.938 kB / 456 MB, free: 11.78 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.449, allocations: 61.51 MB / 0.5054 GB, free: 49.45 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.5845, allocations: 94.59 MB / 0.5977 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.5848, allocations: 73.88 kB / 0.5978 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004239/0.5891, allocations: 1.412 MB / 0.5992 GB, free: 15.54 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5891, allocations: 2.281 kB / 0.5992 GB, free: 15.54 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.5891, allocations: 4 kB / 0.5992 GB, free: 15.53 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003665/0.5895, allocations: 399 kB / 0.5996 GB, free: 15.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5895, allocations: 12.66 kB / 0.5996 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.5896, allocations: 6.531 kB / 0.5996 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.5898, allocations: 175 kB / 0.5998 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.5898, allocations: 4.969 kB / 0.5998 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.5899, allocations: 0.5156 kB / 0.5998 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.59, allocations: 71.66 kB / 0.5998 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.59, allocations: 0 / 0.5998 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.5901, allocations: 5.219 kB / 0.5998 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.5901, allocations: 0 / 0.5998 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.605e-05/0.5901, allocations: 27.98 kB / 0.5999 GB, free: 14.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.5905, allocations: 278 kB / 0.6001 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.595e-05/0.5906, allocations: 52.28 kB / 0.6002 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.01e-05/0.5907, allocations: 28.89 kB / 0.6002 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.5907, allocations: 0 / 0.6002 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.5908, allocations: 115.6 kB / 0.6003 GB, free: 14.22 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.5909, allocations: 0 / 0.6003 GB, free: 14.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002545/0.5911, allocations: 137.1 kB / 0.6005 GB, free: 14.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.5912, allocations: 106.8 kB / 0.6006 GB, free: 13.95 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.5913, allocations: 110.5 kB / 0.6007 GB, free: 13.83 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.836e-05/0.5913, allocations: 25.86 kB / 0.6007 GB, free: 13.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.5914, allocations: 95.41 kB / 0.6008 GB, free: 13.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.5914, allocations: 15.81 kB / 0.6008 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.5914, allocations: 0 / 0.6008 GB, free: 13.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5916, allocations: 318.8 kB / 0.6011 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.5916, allocations: 20 kB / 0.6011 GB, free: 13.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.624e-05/0.5917, allocations: 23.98 kB / 0.6011 GB, free: 13.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.5918, allocations: 80.88 kB / 0.6012 GB, free: 13.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5918, allocations: 3.375 kB / 0.6012 GB, free: 13.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002211/0.592, allocations: 173.4 kB / 0.6014 GB, free: 13.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.872e-05/0.5921, allocations: 59.41 kB / 0.6014 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5921, allocations: 0 / 0.6014 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.5921, allocations: 0 / 0.6014 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.651e-05/0.5921, allocations: 2.688 kB / 0.6014 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.5921, allocations: 0 / 0.6014 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.5922, allocations: 7.906 kB / 0.6015 GB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/0.5922, allocations: 9.297 kB / 0.6015 GB, free: 12.96 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.booTab.y,booTab.y,$PRE.booTab.nextTime,booTab.nextTime,$PRE.booTab.index,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 3 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.24e-05/0.5923, allocations: 145.5 kB / 0.6016 GB, free: 12.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.5923, allocations: 7.953 kB / 0.6016 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.656e-05/0.5923, allocations: 8.609 kB / 0.6016 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.5924, allocations: 6.719 kB / 0.6016 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.5924, allocations: 0 / 0.6016 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5924, allocations: 0 / 0.6016 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001431/0.5925, allocations: 177.6 kB / 0.6018 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5925, allocations: 0 / 0.6018 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.5925, allocations: 0 / 0.6018 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.5925, allocations: 0 / 0.6018 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.5926, allocations: 7.953 kB / 0.6018 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.5926, allocations: 1.625 kB / 0.6018 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.5926, allocations: 0 / 0.6018 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.5928, allocations: 187.6 kB / 0.602 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.5928, allocations: 77.11 kB / 0.6021 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.5929, allocations: 4.781 kB / 0.6021 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.142e-05/0.5929, allocations: 15.94 kB / 0.6021 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.593, allocations: 4.562 kB / 0.6021 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.593, allocations: 5.375 kB / 0.6021 GB, free: 12.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.219e-05/0.593, allocations: 87.28 kB / 0.6022 GB, free: 12.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5931, allocations: 5.375 kB / 0.6022 GB, free: 12.16 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001957/0.5933, allocations: 31.98 kB / 0.6022 GB, free: 12.12 MB / 426.7 MB 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.nextTime,booTab.index,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 4 (booTab.y,booTab.nextTime,booTab.index,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 0 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002085/0.5935, allocations: 123.2 kB / 0.6023 GB, free: 12 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.5937, allocations: 178.7 kB / 0.6025 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.5937, allocations: 0 / 0.6025 GB, free: 11.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.5938, allocations: 103.4 kB / 0.6026 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.852e-05/0.5939, allocations: 12.48 kB / 0.6026 GB, free: 11.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002436/0.5942, allocations: 113.7 kB / 0.6027 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.5944, allocations: 0.6887 MB / 0.6034 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.642e-05/0.5944, allocations: 3.906 kB / 0.6034 GB, free: 10.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.606e-05/0.5945, allocations: 11.56 kB / 0.6034 GB, free: 10.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5945, allocations: 4 kB / 0.6034 GB, free: 10.82 MB / 426.7 MB Notification: Performance of Templates: time 0.002858/0.5973, allocations: 0.8572 MB / 0.6042 GB, free: 10.02 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)