Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.918/1.918, allocations: 289.9 MB / 297.4 MB, free: 6.375 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 180.4 kB / 366.7 MB, free: 1.648 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.2 MB / 0.626 GB, free: 7.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 84.89 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.602e-05, allocations: 4 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8456/0.8457, allocations: 116.3 MB / 0.9733 GB, free: 76.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2364/1.082, allocations: 142.2 MB / 1.112 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/1.083, allocations: 84.67 kB / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01537/1.098, allocations: 5.361 MB / 1.118 GB, free: 2.496 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.373e-06/1.098, allocations: 4 kB / 1.118 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.454e-05/1.098, allocations: 0 / 1.118 GB, free: 2.492 MB / 0.7136 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.000571/1.099, allocations: 465.8 kB / 1.118 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/1.099, allocations: 12.03 kB / 1.118 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.946e-05/1.099, allocations: 15.81 kB / 1.118 GB, free: 1.961 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/1.099, allocations: 248.6 kB / 1.118 GB, free: 1.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/1.099, allocations: 4 kB / 1.118 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/1.099, allocations: 9.297 kB / 1.118 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000108/1.099, allocations: 28 kB / 1.118 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/1.099, allocations: 88.94 kB / 1.118 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.099, allocations: 0 / 1.118 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/1.1, allocations: 3.938 kB / 1.118 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/1.1, allocations: 4.656 kB / 1.118 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/1.1, allocations: 335.4 kB / 1.119 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/1.1, allocations: 73.09 kB / 1.119 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/1.1, allocations: 33.8 kB / 1.119 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/1.1, allocations: 0 / 1.119 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/1.1, allocations: 82.25 kB / 1.119 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/1.1, allocations: 0 / 1.119 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0003327/1.101, allocations: 114.5 kB / 1.119 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/1.101, allocations: 77.11 kB / 1.119 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/1.101, allocations: 233.9 kB / 1.119 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/1.101, allocations: 25.7 kB / 1.119 GB, free: 496 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/1.101, allocations: 116 kB / 1.119 GB, free: 376 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/1.101, allocations: 27.69 kB / 1.119 GB, free: 348 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-06/1.101, allocations: 1.875 kB / 1.119 GB, free: 348 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.101, allocations: 338.8 kB / 1.12 GB, free: 0 / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/1.102, allocations: 20.08 kB / 1.12 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/1.102, allocations: 63.36 kB / 1.12 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.493e-05/1.102, allocations: 31.97 kB / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.102, allocations: 4 kB / 1.12 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001749/1.102, allocations: 113.4 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/1.102, allocations: 5.25 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/1.102, allocations: 2.719 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.102, allocations: 0 / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/1.102, allocations: 12 kB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.341e-06/1.102, allocations: 4.062 kB / 1.12 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.519e-05/1.102, allocations: 11.92 kB / 1.12 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/1.102, allocations: 4 kB / 1.12 GB, free: 15.71 MB / 0.7292 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 0.0001074/1.102, allocations: 110.3 kB / 1.12 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002083/1.102, allocations: 115 kB / 1.12 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/1.103, allocations: 15.75 kB / 1.12 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/1.103, allocations: 123.4 kB / 1.12 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.103, allocations: 11.98 kB / 1.12 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.103, allocations: 0 / 1.12 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/1.103, allocations: 0 / 1.12 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002224/1.103, allocations: 214.1 kB / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/1.103, allocations: 0 / 1.121 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.817e-05/1.103, allocations: 4 kB / 1.121 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/1.103, allocations: 0 / 1.121 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/1.103, allocations: 0 / 1.121 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/1.103, allocations: 2.625 kB / 1.121 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/1.103, allocations: 7.203 kB / 1.121 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/1.103, allocations: 155 kB / 1.121 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/1.104, allocations: 104.8 kB / 1.121 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/1.104, allocations: 4 kB / 1.121 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.562e-05/1.104, allocations: 4 kB / 1.121 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/1.104, allocations: 10.7 kB / 1.121 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.729e-06/1.104, allocations: 4 kB / 1.121 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002052/1.104, allocations: 191 kB / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/1.104, allocations: 0 / 1.121 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002518/1.104, allocations: 35.94 kB / 1.121 GB, free: 14.55 MB / 0.7292 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.001581/1.106, allocations: 0.9354 MB / 1.122 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002001/1.106, allocations: 79.86 kB / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.106, allocations: 0 / 1.122 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.751e-05/1.106, allocations: 32 kB / 1.122 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/1.106, allocations: 27.97 kB / 1.122 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006711/1.107, allocations: 283.6 kB / 1.122 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003992/1.107, allocations: 0.7396 MB / 1.123 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 8.426e-05/1.108, allocations: 23.86 kB / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/1.108, allocations: 47.42 kB / 1.123 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.108, allocations: 0 / 1.123 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/1.134, allocations: 3.65 MB / 1.127 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.134, allocations: 165.8 kB / 1.127 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.965, allocations: 0 / 1.127 GB, free: 8.703 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BooleanReplicator.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)