Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.325/1.325, allocations: 252 MB / 267.3 MB, free: 10.81 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009359/0.000936, allocations: 179.1 kB / 327 MB, free: 2.086 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.4 MB / 0.578 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007172/0.0007174, allocations: 91.73 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 11.34 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1786, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.001799/0.1804, allocations: 1.512 MB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1817, allocations: 0.9177 MB / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.1818, allocations: 0 / 0.9033 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005022/0.1823, allocations: 155.7 kB / 0.9034 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1825, allocations: 99.69 kB / 0.9035 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.1829, allocations: 136.3 kB / 0.9037 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.183, allocations: 159.6 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.413e-05/0.1831, allocations: 33.08 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.15e-05/0.1832, allocations: 55.72 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.1833, allocations: 67.69 kB / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.1833, allocations: 0 / 0.904 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1835, allocations: 47.97 kB / 0.904 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.451e-05/0.1835, allocations: 39.83 kB / 0.904 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.1836, allocations: 85.31 kB / 0.9041 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.1838, allocations: 187.6 kB / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1838, allocations: 0 / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1838, allocations: 0 / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.1838, allocations: 7.938 kB / 0.9043 GB, free: 59.88 MB / 0.6042 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.0005226/0.1844, allocations: 472.5 kB / 0.9048 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.253e-05/0.1844, allocations: 8.031 kB / 0.9048 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.1845, allocations: 42.75 kB / 0.9048 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.1845, allocations: 16.75 kB / 0.9048 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1847, allocations: 244.9 kB / 0.9051 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.248e-06/0.1847, allocations: 4.375 kB / 0.9051 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1847, allocations: 7.938 kB / 0.9051 GB, free: 59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1849, allocations: 91.38 kB / 0.9052 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1849, allocations: 3.938 kB / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1849, allocations: 0 / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.185, allocations: 4 kB / 0.9052 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.1851, allocations: 35.98 kB / 0.9052 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004131/0.1855, allocations: 356.6 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.1856, allocations: 78.61 kB / 0.9056 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.903e-05/0.1857, allocations: 32.84 kB / 0.9056 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.204e-05/0.1857, allocations: 0 / 0.9056 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001369/0.1859, allocations: 79.39 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.285e-06/0.1859, allocations: 4.109 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002826/0.1862, allocations: 149.3 kB / 0.9059 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.1862, allocations: 85.11 kB / 0.9059 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1864, allocations: 262.8 kB / 0.9062 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.1865, allocations: 25.7 kB / 0.9062 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.07e-05/0.1865, allocations: 116.1 kB / 0.9063 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.1865, allocations: 27.64 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.1866, allocations: 8 kB / 0.9064 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.1866, allocations: 326.8 kB / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.1867, allocations: 32.2 kB / 0.9067 GB, free: 57.18 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.425e-05/0.1867, allocations: 63.3 kB / 0.9068 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001015/0.1869, allocations: 73.69 kB / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1869, allocations: 32 / 0.9068 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001613/0.187, allocations: 113.4 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1871, allocations: 4 kB / 0.907 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1871, allocations: 7.984 kB / 0.907 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1871, allocations: 0 / 0.907 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.1872, allocations: 11.94 kB / 0.907 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1872, allocations: 0 / 0.907 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.1872, allocations: 11.94 kB / 0.907 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-06/0.1873, allocations: 0 / 0.907 GB, free: 56.88 MB / 0.6042 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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.0001018/0.1874, allocations: 158.5 kB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.825e-05/0.1874, allocations: 11.81 kB / 0.9071 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.1874, allocations: 17.41 kB / 0.9072 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.1874, allocations: 4 kB / 0.9072 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1875, allocations: 3.984 kB / 0.9072 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1875, allocations: 3.938 kB / 0.9072 GB, free: 56.67 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.1876, allocations: 221.5 kB / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1876, allocations: 0 / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.1876, allocations: 4 kB / 0.9074 GB, free: 56.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1876, allocations: 7.938 kB / 0.9074 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.1877, allocations: 7.938 kB / 0.9074 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1877, allocations: 4 kB / 0.9074 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1877, allocations: 0 / 0.9074 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.1878, allocations: 148.9 kB / 0.9076 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.1879, allocations: 96.86 kB / 0.9076 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.345e-05/0.1879, allocations: 3.984 kB / 0.9076 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.979e-05/0.188, allocations: 12 kB / 0.9077 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.188, allocations: 11.92 kB / 0.9077 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.188, allocations: 3.938 kB / 0.9077 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001251/0.1882, allocations: 196.4 kB / 0.9079 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1882, allocations: 0 / 0.9079 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002147/0.1884, allocations: 28 kB / 0.9079 GB, free: 55.85 MB / 0.6042 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.001107/0.1895, allocations: 0.9984 MB / 0.9089 GB, free: 54.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.1897, allocations: 75.95 kB / 0.9089 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1897, allocations: 0 / 0.9089 GB, free: 54.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.1898, allocations: 43.86 kB / 0.909 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1901, allocations: 31.92 kB / 0.909 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1916, allocations: 1.972 MB / 0.9109 GB, free: 52.78 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.1918, allocations: 0.724 MB / 0.9116 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.296e-05/0.1919, allocations: 21.72 kB / 0.9117 GB, free: 52.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.716e-05/0.1919, allocations: 51.41 kB / 0.9117 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of SimCode: time 1.734e-06/0.1919, allocations: 4 kB / 0.9117 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.2053, allocations: 4.023 MB / 0.9156 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.2055, allocations: 261.7 kB / 0.9159 GB, free: 47.78 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/1.941, allocations: 0 / 0.9159 GB, free: 47.78 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)