Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.203/2.203, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001598, allocations: 175.5 kB / 325.5 MB, free: 2.902 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.422/2.422, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001101/0.001101, allocations: 91.97 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004823, allocations: 16.88 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2087, allocations: 106.3 MB / 0.8988 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2236/0.4324, allocations: 131.5 MB / 1.027 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.4328, allocations: 71.94 kB / 1.027 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004288/0.4371, allocations: 0.9542 MB / 1.028 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/0.4371, allocations: 0 / 1.028 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.173e-05/0.4371, allocations: 4 kB / 1.028 GB, free: 12.74 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007718/0.4379, allocations: 375.2 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.438, allocations: 8.031 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.357e-05/0.4381, allocations: 34.56 kB / 1.029 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.4381, allocations: 11.84 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.4383, allocations: 174.9 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.4383, allocations: 4 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.4383, allocations: 7.969 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.4386, allocations: 69.67 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4386, allocations: 3.938 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.4387, allocations: 4 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.4387, allocations: 0 / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003297/0.439, allocations: 51.95 kB / 1.029 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007207/0.4398, allocations: 304.7 kB / 1.029 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.4402, allocations: 62.55 kB / 1.029 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.4402, allocations: 4 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4402, allocations: 30.56 kB / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 3.466e-06/0.4403, allocations: 0 / 1.029 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006043/0.4409, allocations: 117.6 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.4409, allocations: 51.41 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.4411, allocations: 104.9 kB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.4411, allocations: 29.7 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.4412, allocations: 92.14 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.4412, allocations: 8.219 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.4412, allocations: 0 / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.4414, allocations: 322.8 kB / 1.03 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.4415, allocations: 23.98 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.4417, allocations: 31.92 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.4419, allocations: 23.97 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4419, allocations: 0 / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003917/0.4423, allocations: 93.66 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.4423, allocations: 4 kB / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.4423, allocations: 0 / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.4424, allocations: 0 / 1.03 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.4425, allocations: 15.92 kB / 1.03 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.4425, allocations: 3.953 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/0.4428, allocations: 27.89 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.4428, allocations: 0 / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked 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 0.000115/0.4429, allocations: 119.7 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.4429, allocations: 3.938 kB / 1.03 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004188/0.4434, allocations: 93.55 kB / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4434, allocations: 384 / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4434, allocations: 0 / 1.03 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4434, allocations: 3.953 kB / 1.03 GB, free: 10.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.4436, allocations: 173.7 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4437, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.4438, allocations: 19.91 kB / 1.031 GB, free: 9.996 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/0.4438, allocations: 4 kB / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.4438, allocations: 0 / 1.031 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4438, allocations: 4 kB / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4439, allocations: 0 / 1.031 GB, free: 9.988 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.4443, allocations: 179.4 kB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.752e-05/0.4443, allocations: 81.11 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.4444, allocations: 4 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.4446, allocations: 23.97 kB / 1.031 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.4447, allocations: 7.984 kB / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.835e-06/0.4447, allocations: 0 / 1.031 GB, free: 9.664 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.92e-05/0.4448, allocations: 91.27 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4448, allocations: 4 kB / 1.031 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003137/0.4451, allocations: 4 kB / 1.031 GB, free: 9.566 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.0007352/0.4459, allocations: 0.7212 MB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000381/0.4463, allocations: 59.89 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4463, allocations: 0 / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.4465, allocations: 39.91 kB / 1.032 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.4468, allocations: 7.938 kB / 1.032 GB, free: 8.715 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.4481, allocations: 488.1 kB / 1.032 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.4484, allocations: 0.6848 MB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.036e-05/0.4484, allocations: 7.938 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.4485, allocations: 15.44 kB / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of SimCode: time 1.172e-06/0.4485, allocations: 0 / 1.033 GB, free: 7.453 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02055/0.4691, allocations: 1.421 MB / 1.034 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002495/0.4694, allocations: 192 kB / 1.035 GB, free: 5.941 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.802, allocations: 0 / 1.035 GB, free: 5.941 MB / 0.6823 GB