Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.394/2.394, allocations: 284.9 MB / 292.4 MB, free: 10.58 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.001498/0.001497, allocations: 180.8 kB / 360.6 MB, free: 7.316 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001189/0.001188, allocations: 98.44 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.403e-05/2.414e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8539/0.854, allocations: 115.3 MB / 0.9634 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2757/1.13, allocations: 137.2 MB / 1.097 GB, free: 3.367 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003859/1.13, allocations: 73.33 kB / 1.097 GB, free: 3.297 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01357/1.144, allocations: 1.814 MB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/1.144, allocations: 0.5938 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.144, allocations: 0 / 1.099 GB, free: 1.527 MB / 0.698 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.0005896/1.144, allocations: 369 kB / 1.1 GB, free: 1.117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.934e-05/1.145, allocations: 12.56 kB / 1.1 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/1.145, allocations: 10.95 kB / 1.1 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/1.145, allocations: 183 kB / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.794e-05/1.145, allocations: 0.75 kB / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/1.145, allocations: 7.984 kB / 1.1 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.759e-05/1.145, allocations: 12.5 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.145, allocations: 42.47 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.145, allocations: 0 / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/1.145, allocations: 0.6875 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/1.145, allocations: 0 / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/1.146, allocations: 285.7 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.868e-05/1.146, allocations: 25.38 kB / 1.1 GB, free: 480 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.72e-05/1.146, allocations: 6.891 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/1.146, allocations: 1.094 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001714/1.146, allocations: 59.31 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 3.707e-06/1.147, allocations: 0.6875 kB / 1.1 GB, free: 400 kB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002683/1.147, allocations: 49.69 kB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/1.147, allocations: 53.78 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/1.147, allocations: 101 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/1.147, allocations: 25.7 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.789e-05/1.147, allocations: 95.98 kB / 1.101 GB, free: 40 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/1.147, allocations: 7.906 kB / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/1.147, allocations: 2.312 kB / 1.101 GB, free: 32 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.147, allocations: 322.8 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/1.148, allocations: 26.81 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/1.148, allocations: 48.75 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004408/1.148, allocations: 31.97 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.148, allocations: 0 / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007499/1.149, allocations: 117.6 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.081e-05/1.149, allocations: 34.48 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/1.149, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/1.149, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.946e-05/1.149, allocations: 4 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.066e-06/1.149, allocations: 0 / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004715/1.15, allocations: 37.38 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.955e-05/1.15, allocations: 7.984 kB / 1.101 GB, free: 15.39 MB / 0.7136 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 0.000174/1.15, allocations: 118.6 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002045/1.15, allocations: 53.62 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/1.15, allocations: 11.91 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/1.15, allocations: 4.344 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.15, allocations: 0 / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.151, allocations: 0 / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/1.151, allocations: 3.953 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/1.151, allocations: 145.2 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.151, allocations: 0 / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/1.151, allocations: 0 / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/1.151, allocations: 3.938 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/1.151, allocations: 0 / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.151, allocations: 0 / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/1.151, allocations: 8 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/1.151, allocations: 77.64 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/1.151, allocations: 92.88 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/1.151, allocations: 0 / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.386e-05/1.151, allocations: 0 / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/1.151, allocations: 5.875 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/1.151, allocations: 0 / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.705e-05/1.152, allocations: 91.27 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.31e-07/1.152, allocations: 0 / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005542/1.152, allocations: 20 kB / 1.102 GB, free: 14.69 MB / 0.7136 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.000829/1.153, allocations: 0.6202 MB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004301/1.153, allocations: 115.3 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.153, allocations: 4.188 kB / 1.102 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.039e-05/1.154, allocations: 8 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/1.154, allocations: 4 kB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006837/1.155, allocations: 116 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/1.155, allocations: 0.6846 MB / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.437e-05/1.155, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/1.155, allocations: 15.44 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of SimCode: time 1.723e-06/1.155, allocations: 7.938 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/1.196, allocations: 1.346 MB / 1.105 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000403/1.197, allocations: 154.3 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/3.709, allocations: 1.266 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)