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.45/1.45, allocations: 252 MB / 267 MB, free: 10.98 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.001056/0.001056, allocations: 179 kB / 326.6 MB, free: 2.211 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.639/1.639, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0007086/0.0007086, allocations: 91.8 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 9.125 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1946, allocations: 106.4 MB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BooleanReplicator): time 0.002144/0.1968, allocations: 1.47 MB / 0.9017 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.1982, allocations: 0.8792 MB / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1984, allocations: 0 / 0.9026 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006325/0.199, allocations: 155.7 kB / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/0.1993, allocations: 95.69 kB / 0.9028 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003985/0.1997, allocations: 124.8 kB / 0.903 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1998, allocations: 147.6 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.2, allocations: 21.12 kB / 0.9031 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.135e-05/0.2001, allocations: 63.62 kB / 0.9032 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.2002, allocations: 59.77 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.2002, allocations: 4 kB / 0.9032 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.2003, allocations: 51.95 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.2004, allocations: 39.84 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.2004, allocations: 41.64 kB / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.2006, allocations: 147.9 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2006, allocations: 8 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2006, allocations: 4 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.2006, allocations: 0 / 0.9035 GB, free: 60.43 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.0006069/0.2013, allocations: 468.3 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.2013, allocations: 8.031 kB / 0.904 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.582e-05/0.2013, allocations: 38.55 kB / 0.904 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.2014, allocations: 19.77 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.2016, allocations: 235.7 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.2017, allocations: 3.938 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.2017, allocations: 12 kB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.2019, allocations: 91.3 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2019, allocations: 0 / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2019, allocations: 0 / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.2019, allocations: 4 kB / 0.9044 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.951e-05/0.202, allocations: 39.94 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.2025, allocations: 356.7 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.2027, allocations: 70.67 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.095e-05/0.2027, allocations: 32.84 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2028, allocations: 3.984 kB / 0.9048 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.2029, allocations: 95.19 kB / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.203, allocations: 0 / 0.9049 GB, free: 58.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003002/0.2033, allocations: 141.8 kB / 0.9051 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.2033, allocations: 85.03 kB / 0.9052 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.2035, allocations: 258.9 kB / 0.9054 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2035, allocations: 33.7 kB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.2036, allocations: 116.1 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.2036, allocations: 27.64 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-06/0.2036, allocations: 4 kB / 0.9056 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.2037, allocations: 326.8 kB / 0.9059 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.857e-05/0.2038, allocations: 27.98 kB / 0.9059 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.774e-05/0.2038, allocations: 55.42 kB / 0.906 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.315e-05/0.2039, allocations: 31.98 kB / 0.906 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2039, allocations: 4.031 kB / 0.906 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001636/0.2041, allocations: 117.5 kB / 0.9061 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2041, allocations: 7.953 kB / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2041, allocations: 0 / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2041, allocations: 0 / 0.9061 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.539e-05/0.2042, allocations: 19.94 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2042, allocations: 3.984 kB / 0.9061 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.2043, allocations: 7.906 kB / 0.9061 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.2043, allocations: 4 kB / 0.9062 GB, free: 57.47 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/0.2044, allocations: 141.9 kB / 0.9063 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.2044, allocations: 15.81 kB / 0.9063 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.2045, allocations: 25.34 kB / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.2045, allocations: 0 / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2045, allocations: 0 / 0.9063 GB, free: 57.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.2045, allocations: 4 kB / 0.9063 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.2047, allocations: 221.6 kB / 0.9065 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2047, allocations: 0 / 0.9065 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.2047, allocations: 4 kB / 0.9065 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2047, allocations: 4 kB / 0.9065 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2047, allocations: 7.922 kB / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.2047, allocations: 4.047 kB / 0.9066 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2047, allocations: 8.094 kB / 0.9066 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001774/0.2049, allocations: 132.9 kB / 0.9067 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.205, allocations: 100.8 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.205, allocations: 0 / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.213e-05/0.2051, allocations: 8 kB / 0.9068 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.2051, allocations: 15.94 kB / 0.9068 GB, free: 56.69 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.2051, allocations: 7.938 kB / 0.9068 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001359/0.2053, allocations: 200.1 kB / 0.907 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2053, allocations: 0 / 0.907 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002191/0.2055, allocations: 28 kB / 0.907 GB, free: 56.46 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 (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.001163/0.2067, allocations: 1.007 MB / 0.908 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001905/0.2069, allocations: 71.97 kB / 0.9081 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2069, allocations: 0 / 0.9081 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.528e-05/0.207, allocations: 35.92 kB / 0.9081 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002789/0.2072, allocations: 40.53 kB / 0.9082 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2085, allocations: 0.9683 MB / 0.9091 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.2086, allocations: 0.7317 MB / 0.9098 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.179e-05/0.2087, allocations: 29.7 kB / 0.9099 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.2088, allocations: 51.41 kB / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of SimCode: time 2.71e-07/0.2088, allocations: 0 / 0.9099 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01502/0.2238, allocations: 3.969 MB / 0.9138 GB, free: 49.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.224, allocations: 240 kB / 0.914 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.02, allocations: 0 / 0.914 GB, free: 49.5 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)