Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.173/2.173, allocations: 248.7 MB / 256.2 MB, free: 7.008 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.001552/0.001552, allocations: 184.5 kB / 315.4 MB, free: 4.008 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.175/2.175, allocations: 205.3 MB / 0.5662 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001056, allocations: 95.84 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.916e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2215, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.865/1.086, allocations: 132.6 MB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/1.087, allocations: 84.31 kB / 1.014 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008386/1.095, allocations: 1.803 MB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.462e-06/1.095, allocations: 0 / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.105e-05/1.095, allocations: 4 kB / 1.015 GB, free: 4.543 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009507/1.096, allocations: 428.8 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/1.096, allocations: 12.03 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.548e-05/1.096, allocations: 11.86 kB / 1.016 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/1.097, allocations: 186.2 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/1.097, allocations: 0 / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/1.097, allocations: 8 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001768/1.097, allocations: 40.5 kB / 1.016 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/1.097, allocations: 72.91 kB / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.097, allocations: 0 / 1.016 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/1.097, allocations: 7.953 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/1.097, allocations: 4 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/1.098, allocations: 374.6 kB / 1.017 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/1.098, allocations: 54.56 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.622e-05/1.098, allocations: 23.17 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/1.099, allocations: 4 kB / 1.017 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/1.099, allocations: 38.08 kB / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/1.099, allocations: 0 / 1.017 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.000248/1.099, allocations: 59.36 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/1.099, allocations: 55.39 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/1.099, allocations: 123.8 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/1.099, allocations: 32.52 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/1.099, allocations: 108.9 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/1.099, allocations: 11 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/1.099, allocations: 0 / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001384/1.099, allocations: 329.7 kB / 1.017 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.117e-05/1.099, allocations: 22.19 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/1.1, allocations: 26.78 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.496e-05/1.1, allocations: 7.438 kB / 1.017 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.1, allocations: 4 kB / 1.017 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001832/1.1, allocations: 72.22 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.1, allocations: 4 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/1.1, allocations: 4 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.1, allocations: 4 kB / 1.017 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/1.1, allocations: 11.98 kB / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/1.1, allocations: 0 / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003381/1.1, allocations: 31.97 kB / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.471e-05/1.1, allocations: 224 / 1.018 GB, free: 2.391 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001125/1.101, allocations: 121.1 kB / 1.018 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001672/1.101, allocations: 73.78 kB / 1.018 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.869e-05/1.101, allocations: 7.906 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.861e-05/1.101, allocations: 7.406 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/1.101, allocations: 4 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.101, allocations: 0 / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/1.101, allocations: 0 / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/1.101, allocations: 178.3 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/1.101, allocations: 0 / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/1.101, allocations: 11.98 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.101, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/1.101, allocations: 0 / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/1.101, allocations: 3.984 kB / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.101, allocations: 0 / 1.018 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/1.102, allocations: 172 kB / 1.018 GB, free: 1.805 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/1.102, allocations: 81.02 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.305e-05/1.102, allocations: 7.375 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003418/1.102, allocations: 27.97 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/1.102, allocations: 11.97 kB / 1.018 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/1.102, allocations: 7.312 kB / 1.018 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.799e-05/1.102, allocations: 103.3 kB / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/1.102, allocations: 0 / 1.018 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003294/1.103, allocations: 15.94 kB / 1.018 GB, free: 1.551 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 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0005602/1.103, allocations: 0.7093 MB / 1.019 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001742/1.103, allocations: 40.75 kB / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.103, allocations: 0 / 1.019 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.735e-05/1.103, allocations: 23.19 kB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/1.104, allocations: 18.52 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/1.104, allocations: 149.4 kB / 1.019 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/1.105, allocations: 0.7079 MB / 1.02 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.924e-05/1.105, allocations: 192 / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.444e-05/1.105, allocations: 30.8 kB / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/1.105, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03993/1.145, allocations: 1.742 MB / 1.022 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003364/1.145, allocations: 162 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.37, allocations: 4 kB / 1.022 GB, free: 13.93 MB / 0.6511 GB