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.537/1.537, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 186.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009071/0.0009072, allocations: 104.9 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.764e-05/3.768e-05, allocations: 4 kB / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2114, allocations: 106.3 MB / 0.8919 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7717/0.9832, allocations: 135.6 MB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.9835, allocations: 80 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.9989, allocations: 5.417 MB / 1.03 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9989, allocations: 0 / 1.03 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.85e-05/0.999, allocations: 4 kB / 1.03 GB, free: 10.56 MB / 0.6511 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.0005694/0.9995, allocations: 467.9 kB / 1.03 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.9996, allocations: 8.031 kB / 1.03 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.046e-05/0.9997, allocations: 41.69 kB / 1.03 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.072e-05/0.9998, allocations: 15.81 kB / 1.03 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003856/1, allocations: 249.6 kB / 1.03 GB, free: 9.727 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/1, allocations: 7.984 kB / 1.03 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/1, allocations: 11.3 kB / 1.03 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/1, allocations: 81.14 kB / 1.031 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1, allocations: 3.938 kB / 1.031 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/1, allocations: 3.938 kB / 1.031 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/1, allocations: 4 kB / 1.031 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/1.001, allocations: 39.11 kB / 1.031 GB, free: 9.594 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005584/1.001, allocations: 359.5 kB / 1.031 GB, free: 9.234 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/1.001, allocations: 73.19 kB / 1.031 GB, free: 9.172 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/1.001, allocations: 37.97 kB / 1.031 GB, free: 9.141 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/1.001, allocations: 4 kB / 1.031 GB, free: 9.137 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/1.002, allocations: 80.44 kB / 1.031 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 3.286e-06/1.002, allocations: 112 / 1.031 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0002637/1.002, allocations: 116.8 kB / 1.031 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.669e-05/1.002, allocations: 85.05 kB / 1.031 GB, free: 8.852 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/1.002, allocations: 239.7 kB / 1.032 GB, free: 8.652 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/1.002, allocations: 33.69 kB / 1.032 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/1.002, allocations: 120.3 kB / 1.032 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/1.002, allocations: 23.33 kB / 1.032 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/1.002, allocations: 0 / 1.032 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.002, allocations: 325.7 kB / 1.032 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.6e-05/1.002, allocations: 26.86 kB / 1.032 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.716e-05/1.003, allocations: 61.42 kB / 1.032 GB, free: 8.098 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/1.003, allocations: 34.89 kB / 1.032 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.003, allocations: 0 / 1.032 GB, free: 8.07 MB / 0.6511 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001715/1.003, allocations: 115.5 kB / 1.032 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.003, allocations: 8 kB / 1.032 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.003, allocations: 0 / 1.032 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.003, allocations: 0 / 1.032 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/1.003, allocations: 11.12 kB / 1.032 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/1.003, allocations: 4 kB / 1.032 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.57e-05/1.003, allocations: 19.78 kB / 1.032 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/1.003, allocations: 4.031 kB / 1.032 GB, free: 7.926 MB / 0.6511 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.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,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 (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 8.867e-05/1.003, allocations: 120.7 kB / 1.032 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/1.003, allocations: 15.81 kB / 1.032 GB, free: 7.789 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/1.003, allocations: 124.2 kB / 1.033 GB, free: 7.688 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/1.003, allocations: 4 kB / 1.033 GB, free: 7.684 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.003, allocations: 3.984 kB / 1.033 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.003, allocations: 0 / 1.033 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/1.004, allocations: 234 kB / 1.033 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.004, allocations: 4 kB / 1.033 GB, free: 7.422 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.268e-05/1.004, allocations: 4 kB / 1.033 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/1.004, allocations: 3.938 kB / 1.033 GB, free: 7.414 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/1.004, allocations: 7.375 kB / 1.033 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/1.004, allocations: 0 / 1.033 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.004, allocations: 3.984 kB / 1.033 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/1.004, allocations: 143.9 kB / 1.033 GB, free: 7.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.354e-05/1.004, allocations: 100.7 kB / 1.033 GB, free: 7.156 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/1.004, allocations: 8 kB / 1.033 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.439e-05/1.004, allocations: 3.188 kB / 1.033 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/1.004, allocations: 7.984 kB / 1.033 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.248e-05/1.004, allocations: 7.984 kB / 1.033 GB, free: 7.133 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001942/1.004, allocations: 197.8 kB / 1.033 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/1.004, allocations: 0 / 1.033 GB, free: 6.977 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002401/1.005, allocations: 39.44 kB / 1.033 GB, free: 6.941 MB / 0.6511 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.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.u,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled) * 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 (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.001279/1.006, allocations: 0.9681 MB / 1.034 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001736/1.006, allocations: 80.61 kB / 1.034 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.006, allocations: 0 / 1.034 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.745e-05/1.006, allocations: 36.44 kB / 1.034 GB, free: 5.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/1.007, allocations: 33.2 kB / 1.034 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/1.007, allocations: 299.4 kB / 1.035 GB, free: 5.656 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/1.008, allocations: 0.7312 MB / 1.035 GB, free: 4.906 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.074e-05/1.008, allocations: 25.5 kB / 1.035 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/1.008, allocations: 49.73 kB / 1.035 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/1.008, allocations: 8 kB / 1.035 GB, free: 4.852 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/1.023, allocations: 4.08 MB / 1.039 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/1.023, allocations: 198 kB / 1.04 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.772, allocations: 0 / 1.04 GB, free: 0.6523 MB / 0.6511 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)