Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_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.703/1.703, allocations: 292.6 MB / 307.5 MB, free: 5.191 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.001099/0.0011, allocations: 193 kB / 377.1 MB, free: 1.523 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.672/1.672, allocations: 205.4 MB / 0.6366 GB, free: 9.574 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.0008534/0.0008534, allocations: 92.28 kB / 0.7509 GB, free: 62.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003082, allocations: 8 kB / 0.8749 GB, free: 11.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2711, allocations: 116.3 MB / 0.9884 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8178/1.089, allocations: 139.1 MB / 1.124 GB, free: 35.65 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/1.089, allocations: 72.86 kB / 1.124 GB, free: 35.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.005066/1.094, allocations: 1.817 MB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.874e-06/1.094, allocations: 0 / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.144e-05/1.094, allocations: 8 kB / 1.126 GB, free: 34.24 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004569/1.095, allocations: 376.9 kB / 1.126 GB, free: 33.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/1.095, allocations: 12.02 kB / 1.126 GB, free: 33.82 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.985e-05/1.095, allocations: 43.19 kB / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/1.095, allocations: 10.66 kB / 1.127 GB, free: 33.76 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/1.095, allocations: 175 kB / 1.127 GB, free: 33.56 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.095, allocations: 4.562 kB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/1.095, allocations: 5.203 kB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/1.095, allocations: 51.42 kB / 1.127 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.095, allocations: 8.5 kB / 1.127 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/1.095, allocations: 0 / 1.127 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.096, allocations: 2.281 kB / 1.127 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.672e-05/1.096, allocations: 8.516 kB / 1.127 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003865/1.096, allocations: 304.8 kB / 1.127 GB, free: 33.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.204e-05/1.096, allocations: 26.14 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/1.096, allocations: 4 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/1.096, allocations: 60.45 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.593e-06/1.096, allocations: 4.938 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001823/1.096, allocations: 53.17 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/1.096, allocations: 55.41 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.585e-05/1.096, allocations: 109.2 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/1.096, allocations: 25.7 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.875e-05/1.097, allocations: 88.14 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/1.097, allocations: 15.33 kB / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/1.097, allocations: 0 / 1.127 GB, free: 32.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.557e-05/1.097, allocations: 310.8 kB / 1.128 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.532e-05/1.097, allocations: 31.38 kB / 1.128 GB, free: 32.37 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.82e-05/1.097, allocations: 50.53 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.37e-05/1.097, allocations: 61.36 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.097, allocations: 0 / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002256/1.097, allocations: 143.5 kB / 1.128 GB, free: 32.11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/1.097, allocations: 33.22 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/1.097, allocations: 4 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.097, allocations: 0 / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.926e-05/1.097, allocations: 0 / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.097, allocations: 4 kB / 1.128 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/1.097, allocations: 35.41 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/1.097, allocations: 15.38 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 7.431e-05/1.097, allocations: 117.8 kB / 1.128 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/1.098, allocations: 3.906 kB / 1.128 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/1.098, allocations: 11.28 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.098, allocations: 5.078 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.098, allocations: 1.75 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/1.098, allocations: 4 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.641e-05/1.098, allocations: 168.2 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.098, allocations: 4 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-06/1.098, allocations: 0 / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/1.098, allocations: 0 / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/1.098, allocations: 0.5625 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.098, allocations: 0 / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.098, allocations: 0 / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.706e-05/1.098, allocations: 89.2 kB / 1.129 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.686e-05/1.098, allocations: 78.61 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/1.098, allocations: 0 / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/1.098, allocations: 0 / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/1.098, allocations: 7.516 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/1.098, allocations: 4.938 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.778e-05/1.098, allocations: 79.28 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.91e-07/1.098, allocations: 0 / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002116/1.098, allocations: 27.94 kB / 1.129 GB, free: 31.37 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000338/1.099, allocations: 0.6355 MB / 1.129 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001844/1.099, allocations: 124.1 kB / 1.129 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.099, allocations: 0 / 1.129 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.723e-05/1.099, allocations: 8 kB / 1.129 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/1.099, allocations: 16.31 kB / 1.129 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005514/1.1, allocations: 0.6471 MB / 1.13 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/1.1, allocations: 0.6837 MB / 1.131 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.144e-05/1.1, allocations: 4 kB / 1.131 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/1.1, allocations: 14.86 kB / 1.131 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/1.1, allocations: 4 kB / 1.131 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/1.113, allocations: 1.701 MB / 1.132 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001519/1.113, allocations: 192.5 kB / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.858, allocations: 0 / 1.133 GB, free: 28.03 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)