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.587/1.587, allocations: 251.9 MB / 266.9 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.001023/0.001023, allocations: 191.9 kB / 326.5 MB, free: 2.23 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.807/1.807, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009109/0.000911, allocations: 85.45 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005267/0.000527, allocations: 11.97 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.321, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2/0.521, allocations: 135.7 MB / 1.033 GB, free: 7.938 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.5214, allocations: 79.95 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.5387, allocations: 5.439 MB / 1.038 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.795e-06/0.5388, allocations: 0 / 1.038 GB, free: 2.414 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.65e-05/0.5388, allocations: 4 kB / 1.038 GB, free: 2.41 MB / 0.6823 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.0007945/0.5396, allocations: 496.2 kB / 1.039 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.5397, allocations: 8.031 kB / 1.039 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.088e-05/0.5397, allocations: 42.55 kB / 1.039 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.791e-05/0.5398, allocations: 19.81 kB / 1.039 GB, free: 1.793 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.5403, allocations: 251.6 kB / 1.039 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.5404, allocations: 8 kB / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.5404, allocations: 0 / 1.039 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.5406, allocations: 91.31 kB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.5406, allocations: 4 kB / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5407, allocations: 0 / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.5407, allocations: 0 / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.5408, allocations: 39.97 kB / 1.039 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/0.5414, allocations: 372.6 kB / 1.039 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.5417, allocations: 78.66 kB / 1.039 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.5417, allocations: 0 / 1.039 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.5419, allocations: 91.47 kB / 1.039 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.5419, allocations: 0 / 1.039 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0004281/0.5423, allocations: 230.4 kB / 1.04 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/0.5424, allocations: 81.06 kB / 1.04 GB, free: 412 kB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.5427, allocations: 242.1 kB / 1.04 GB, free: 164 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.5428, allocations: 25.7 kB / 1.04 GB, free: 132 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.5428, allocations: 116.1 kB / 1.04 GB, free: 12 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.886e-05/0.5429, allocations: 27.75 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5429, allocations: 0 / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.5431, allocations: 334.8 kB / 1.04 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.5432, allocations: 24 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.285e-05/0.5433, allocations: 59.52 kB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.028e-05/0.5434, allocations: 39.95 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5434, allocations: 4 kB / 1.041 GB, free: 15.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002305/0.5436, allocations: 113.4 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.5436, allocations: 7.938 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5436, allocations: 4 kB / 1.041 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.5437, allocations: 0 / 1.041 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.5438, allocations: 11.98 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.5438, allocations: 0 / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.5439, allocations: 19.8 kB / 1.041 GB, free: 15.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.5439, allocations: 4.031 kB / 1.041 GB, free: 15.35 MB / 0.698 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 () * 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 0.0001563/0.544, allocations: 142.7 kB / 1.041 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.5441, allocations: 15.81 kB / 1.041 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003003/0.5444, allocations: 139.1 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.5444, allocations: 4 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5444, allocations: 0 / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.5444, allocations: 384 / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.5447, allocations: 229.5 kB / 1.041 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5447, allocations: 4 kB / 1.041 GB, free: 14.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.564e-05/0.5447, allocations: 7.984 kB / 1.041 GB, free: 14.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.5447, allocations: 7.875 kB / 1.041 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.5448, allocations: 4 kB / 1.041 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5448, allocations: 0 / 1.041 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5448, allocations: 80 / 1.041 GB, free: 14.74 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.5451, allocations: 156.8 kB / 1.041 GB, free: 14.57 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.5452, allocations: 100.9 kB / 1.042 GB, free: 14.45 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.5452, allocations: 12 kB / 1.042 GB, free: 14.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.5453, allocations: 4 kB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.5453, allocations: 3.984 kB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5453, allocations: 4 kB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002118/0.5456, allocations: 200.1 kB / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5456, allocations: 0 / 1.042 GB, free: 14.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002896/0.5459, allocations: 43.92 kB / 1.042 GB, free: 14.19 MB / 0.698 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) * 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 (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.001483/0.5473, allocations: 1.02 MB / 1.043 GB, free: 13.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002455/0.5476, allocations: 79.91 kB / 1.043 GB, free: 13.22 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5476, allocations: 0 / 1.043 GB, free: 13.22 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.5477, allocations: 43.92 kB / 1.043 GB, free: 13.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.548, allocations: 36.09 kB / 1.043 GB, free: 13.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.5499, allocations: 1.13 MB / 1.044 GB, free: 11.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.5503, allocations: 0.7282 MB / 1.045 GB, free: 11.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.728e-05/0.5504, allocations: 25.38 kB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.5505, allocations: 59.28 kB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/0.5505, allocations: 4 kB / 1.045 GB, free: 11.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.5703, allocations: 4.117 MB / 1.049 GB, free: 7.109 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002852/0.5707, allocations: 227.2 kB / 1.049 GB, free: 6.871 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.473, allocations: 0 / 1.049 GB, free: 6.871 MB / 0.698 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)