Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanReplicator,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.348/2.348, allocations: 248.7 MB / 256.2 MB, free: 7.055 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.00153/0.001529, allocations: 183.8 kB / 315.4 MB, free: 3.973 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.3 MB / 0.5662 GB, free: 500 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001611/0.001611, allocations: 86.42 kB / 0.6704 GB, free: 5.691 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.798e-05/2.813e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2164, allocations: 106.3 MB / 0.8841 GB, free: 12.95 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.232, allocations: 131.4 MB / 1.012 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/1.232, allocations: 78.12 kB / 1.013 GB, free: 7.242 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002326/1.235, allocations: 0.673 MB / 1.013 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/1.235, allocations: 0 / 1.013 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.172e-05/1.235, allocations: 4 kB / 1.013 GB, free: 6.617 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.0004467/1.235, allocations: 334.5 kB / 1.014 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/1.235, allocations: 12.02 kB / 1.014 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/1.235, allocations: 4 kB / 1.014 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/1.236, allocations: 174.9 kB / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/1.236, allocations: 0 / 1.014 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/1.236, allocations: 4 kB / 1.014 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.603e-05/1.236, allocations: 22.92 kB / 1.014 GB, free: 6.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.87e-05/1.236, allocations: 41.44 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/1.236, allocations: 2.625 kB / 1.014 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/1.236, allocations: 4 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/1.236, allocations: 0 / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004995/1.236, allocations: 252.5 kB / 1.014 GB, free: 5.684 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.35e-05/1.236, allocations: 30.39 kB / 1.014 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.929e-05/1.236, allocations: 12.92 kB / 1.014 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/1.236, allocations: 0 / 1.014 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001171/1.237, allocations: 54.95 kB / 1.014 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.683e-06/1.237, allocations: 0 / 1.014 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001707/1.237, allocations: 45.56 kB / 1.014 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/1.237, allocations: 55.36 kB / 1.014 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/1.237, allocations: 108.6 kB / 1.014 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/1.237, allocations: 30.55 kB / 1.014 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/1.237, allocations: 84.12 kB / 1.014 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/1.237, allocations: 7.906 kB / 1.014 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/1.237, allocations: 0 / 1.014 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.237, allocations: 318.8 kB / 1.015 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/1.237, allocations: 7.938 kB / 1.015 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.49e-05/1.237, allocations: 17.59 kB / 1.015 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.84e-05/1.237, allocations: 8 kB / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.237, allocations: 0 / 1.015 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/1.238, allocations: 49.44 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.238, allocations: 11.94 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/1.238, allocations: 0 / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/1.238, allocations: 0 / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.518e-05/1.238, allocations: 7.938 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.238, allocations: 0 / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.027e-05/1.238, allocations: 11.94 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/1.238, allocations: 11.97 kB / 1.015 GB, free: 4.781 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 8.896e-05/1.238, allocations: 101 kB / 1.015 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.689e-05/1.238, allocations: 49.47 kB / 1.015 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.283e-05/1.238, allocations: 4 kB / 1.015 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.284e-05/1.238, allocations: 4.125 kB / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/1.238, allocations: 0 / 1.015 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.238, allocations: 3.953 kB / 1.015 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/1.238, allocations: 4.859 kB / 1.015 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/1.238, allocations: 137.9 kB / 1.015 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.238, allocations: 4 kB / 1.015 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.086e-05/1.238, allocations: 3.938 kB / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/1.238, allocations: 0 / 1.015 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/1.238, allocations: 4 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.238, allocations: 3.75 kB / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.238, allocations: 0 / 1.015 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001228/1.239, allocations: 76.88 kB / 1.015 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.334e-05/1.239, allocations: 85.02 kB / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/1.239, allocations: 0 / 1.015 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/1.239, allocations: 8 kB / 1.015 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.58e-05/1.239, allocations: 8.266 kB / 1.015 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.109e-06/1.239, allocations: 0 / 1.015 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.35e-05/1.239, allocations: 83.16 kB / 1.015 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.239, allocations: 0 / 1.015 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000254/1.239, allocations: 4 kB / 1.015 GB, free: 4.137 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.0004951/1.24, allocations: 0.6225 MB / 1.016 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.963e-05/1.24, allocations: 15.88 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.24, allocations: 0 / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/1.24, allocations: 8 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/1.24, allocations: 15.48 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/1.24, allocations: 109.4 kB / 1.016 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/1.241, allocations: 0.6846 MB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.017e-05/1.241, allocations: 4 kB / 1.017 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/1.241, allocations: 11.38 kB / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/1.241, allocations: 0 / 1.017 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/1.274, allocations: 0.879 MB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/1.274, allocations: 165.7 kB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.192/3.466, allocations: 0 / 1.018 GB, free: 1.535 MB / 0.6355 GB