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.618/1.618, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001514/0.001514, allocations: 186.2 kB / 371.6 MB, free: 3.422 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.871/1.871, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.001105/0.001105, allocations: 93.17 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.37e-05/4.371e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2972, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9097/1.207, allocations: 139 MB / 1.116 GB, free: 44.64 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.207, allocations: 77.28 kB / 1.116 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.005323/1.213, allocations: 1.819 MB / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.633e-06/1.213, allocations: 0 / 1.117 GB, free: 43.51 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.004e-05/1.213, allocations: 0 / 1.117 GB, free: 43.51 MB / 0.7448 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.000332/1.213, allocations: 364.3 kB / 1.118 GB, free: 43.12 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.213, allocations: 12.03 kB / 1.118 GB, free: 43.11 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/1.213, allocations: 31.31 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.607e-05/1.213, allocations: 8.062 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/1.213, allocations: 182.8 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/1.213, allocations: 7.266 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/1.213, allocations: 4 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/1.213, allocations: 48 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.213, allocations: 0.5156 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/1.213, allocations: 3.422 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/1.213, allocations: 7.828 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.423e-05/1.214, allocations: 9.438 kB / 1.118 GB, free: 42.8 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/1.214, allocations: 303.8 kB / 1.118 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.914e-05/1.214, allocations: 22.52 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.529e-05/1.214, allocations: 11.77 kB / 1.118 GB, free: 42.47 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.156e-06/1.214, allocations: 4.062 kB / 1.118 GB, free: 42.46 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.289e-05/1.214, allocations: 54.81 kB / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/1.214, allocations: 0 / 1.118 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001667/1.214, allocations: 64.06 kB / 1.119 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/1.214, allocations: 55.36 kB / 1.119 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.324e-05/1.214, allocations: 99.81 kB / 1.119 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/1.214, allocations: 29.08 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.055e-05/1.214, allocations: 98.66 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.085e-05/1.214, allocations: 4 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/1.214, allocations: 0 / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.399e-05/1.215, allocations: 317.5 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/1.215, allocations: 32.94 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.812e-05/1.215, allocations: 46.12 kB / 1.119 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.365e-05/1.215, allocations: 55.41 kB / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.215, allocations: 0 / 1.119 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002137/1.215, allocations: 144.1 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.113e-05/1.215, allocations: 40.92 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.215, allocations: 0 / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/1.215, allocations: 4 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.672e-05/1.215, allocations: 0 / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/1.215, allocations: 3.938 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/1.215, allocations: 46.16 kB / 1.119 GB, free: 41.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/1.215, allocations: 5 kB / 1.119 GB, free: 41.42 MB / 0.7448 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 () * 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 5.631e-05/1.215, allocations: 109.8 kB / 1.12 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/1.215, allocations: 0 / 1.12 GB, free: 41.31 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/1.215, allocations: 8.25 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/1.215, allocations: 4 kB / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/1.215, allocations: 0 / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.215, allocations: 0 / 1.12 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.182e-05/1.216, allocations: 167.3 kB / 1.12 GB, free: 41.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.216, allocations: 7.938 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.865e-06/1.216, allocations: 2.625 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/1.216, allocations: 0 / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/1.216, allocations: 0 / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/1.216, allocations: 0 / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/1.216, allocations: 0.75 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.01e-05/1.216, allocations: 92.45 kB / 1.12 GB, free: 41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.257e-05/1.216, allocations: 77.11 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/1.216, allocations: 0.625 kB / 1.12 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.289e-05/1.216, allocations: 8 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/1.216, allocations: 3.422 kB / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/1.216, allocations: 0 / 1.12 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.011e-05/1.216, allocations: 86.22 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.216, allocations: 0.6562 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002132/1.216, allocations: 16 kB / 1.12 GB, free: 40.8 MB / 0.7448 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 () * 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.0003024/1.216, allocations: 0.6358 MB / 1.121 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001718/1.217, allocations: 115.8 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/1.217, allocations: 0 / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.285e-05/1.217, allocations: 11.94 kB / 1.121 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/1.217, allocations: 9.109 kB / 1.121 GB, free: 40.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/1.217, allocations: 114.3 kB / 1.121 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/1.217, allocations: 0.6842 MB / 1.122 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.835e-05/1.217, allocations: 3.281 kB / 1.122 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/1.217, allocations: 15 kB / 1.122 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/1.217, allocations: 0 / 1.122 GB, free: 39.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01314/1.23, allocations: 1.712 MB / 1.123 GB, free: 38.29 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/1.231, allocations: 174.5 kB / 1.123 GB, free: 38.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/2.803, allocations: 0 / 1.123 GB, free: 38.06 MB / 0.7448 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)