Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.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.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 249.5 MB / 257 MB, free: 6.941 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009209/0.0009209, allocations: 180.9 kB / 316.3 MB, free: 3.312 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.596/1.596, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0009618/0.000962, allocations: 82.48 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.029e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2521, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8235/1.076, allocations: 131.6 MB / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.076, allocations: 81.78 kB / 1.014 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001757/1.078, allocations: 0.6655 MB / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.745e-06/1.078, allocations: 0 / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.097e-06/1.078, allocations: 0 / 1.015 GB, free: 5.395 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003831/1.078, allocations: 339.3 kB / 1.015 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/1.078, allocations: 8.031 kB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.019e-05/1.078, allocations: 11.89 kB / 1.015 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/1.078, allocations: 171 kB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.078, allocations: 0 / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/1.078, allocations: 8 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.362e-05/1.079, allocations: 21.86 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/1.079, allocations: 41.58 kB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.079, allocations: 3.984 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/1.079, allocations: 0 / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/1.079, allocations: 2.734 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/1.079, allocations: 253 kB / 1.015 GB, free: 4.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.886e-05/1.079, allocations: 26.45 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/1.079, allocations: 16.55 kB / 1.015 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/1.079, allocations: 0 / 1.015 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.008e-05/1.079, allocations: 47.41 kB / 1.016 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.725e-06/1.079, allocations: 7.984 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001468/1.079, allocations: 49.41 kB / 1.016 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/1.08, allocations: 51.41 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.309e-05/1.08, allocations: 104.5 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/1.08, allocations: 25.7 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/1.08, allocations: 80.14 kB / 1.016 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.366e-05/1.08, allocations: 11.59 kB / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/1.08, allocations: 0 / 1.016 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.08, allocations: 322.8 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.003e-05/1.08, allocations: 11.88 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/1.08, allocations: 13.72 kB / 1.016 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.833e-05/1.08, allocations: 7.938 kB / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.08, allocations: 0 / 1.016 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.017e-05/1.08, allocations: 45.62 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/1.08, allocations: 8 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/1.08, allocations: 0 / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.08, allocations: 4.875 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/1.08, allocations: 15.81 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/1.08, allocations: 0.7031 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.287e-05/1.08, allocations: 7.984 kB / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/1.08, allocations: 0 / 1.016 GB, free: 3.57 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booRep.y[3],$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * 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 7.588e-05/1.08, allocations: 112.9 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.623e-05/1.08, allocations: 49.53 kB / 1.016 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.135e-06/1.08, allocations: 4 kB / 1.016 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/1.08, allocations: 8.125 kB / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/1.08, allocations: 0 / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/1.08, allocations: 0 / 1.016 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/1.08, allocations: 3.953 kB / 1.016 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/1.081, allocations: 142.1 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/1.081, allocations: 0 / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-06/1.081, allocations: 0 / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/1.081, allocations: 3.938 kB / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/1.081, allocations: 0 / 1.017 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.081, allocations: 4 kB / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.081, allocations: 0 / 1.017 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.298e-05/1.081, allocations: 76.64 kB / 1.017 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/1.081, allocations: 85 kB / 1.017 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/1.081, allocations: 4 kB / 1.017 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.663e-05/1.081, allocations: 4 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/1.081, allocations: 3.984 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/1.081, allocations: 4 kB / 1.017 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.995e-05/1.081, allocations: 86.97 kB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.081, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001743/1.081, allocations: 4 kB / 1.017 GB, free: 2.91 MB / 0.6355 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,booRep.y[3],booPul.pulseStart) * 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.0003479/1.081, allocations: 0.6187 MB / 1.017 GB, free: 2.273 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.508e-05/1.082, allocations: 15.94 kB / 1.017 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.082, allocations: 4.062 kB / 1.017 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.854e-05/1.082, allocations: 11.88 kB / 1.017 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/1.082, allocations: 11.97 kB / 1.017 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/1.082, allocations: 101.4 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/1.082, allocations: 0.6846 MB / 1.018 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.964e-05/1.082, allocations: 4 kB / 1.018 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/1.082, allocations: 11.19 kB / 1.018 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of SimCode: time 2.61e-07/1.082, allocations: 4 kB / 1.018 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/1.101, allocations: 0.8873 MB / 1.019 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/1.101, allocations: 168.8 kB / 1.019 GB, free: 320 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.436/2.537, allocations: 4 kB / 1.019 GB, free: 316 kB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.pipe 2>&1)