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.274/2.274, allocations: 248.5 MB / 261.1 MB, free: 5.969 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.001559/0.001559, allocations: 180.1 kB / 320.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205.2 MB / 0.571 GB, free: 11.85 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.001151/0.001151, allocations: 96.72 kB / 0.6754 GB, free: 0.9414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.818e-05/3.836e-05, allocations: 4 kB / 0.7869 GB, free: 97.82 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2218, allocations: 106.2 MB / 0.8907 GB, free: 7.477 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.862/1.084, allocations: 132.3 MB / 1.02 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004648/1.084, allocations: 83.56 kB / 1.02 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008548/1.093, allocations: 1.817 MB / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/1.093, allocations: 0 / 1.022 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.566e-05/1.093, allocations: 0 / 1.022 GB, free: 1.266 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.0009307/1.094, allocations: 433.2 kB / 1.022 GB, free: 0.8047 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.348e-05/1.094, allocations: 8.031 kB / 1.022 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.739e-05/1.094, allocations: 38.5 kB / 1.022 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/1.094, allocations: 11.86 kB / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/1.094, allocations: 186.8 kB / 1.022 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.094, allocations: 4 kB / 1.022 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/1.094, allocations: 7.938 kB / 1.022 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/1.095, allocations: 85.61 kB / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/1.095, allocations: 0 / 1.023 GB, free: 456 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/1.095, allocations: 3.953 kB / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/1.095, allocations: 0 / 1.023 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/1.095, allocations: 47.38 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/1.096, allocations: 427.6 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/1.096, allocations: 52.25 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/1.096, allocations: 24.23 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/1.096, allocations: 3.938 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/1.096, allocations: 30.56 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.804e-06/1.096, allocations: 4 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0002673/1.097, allocations: 72.91 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.097, allocations: 55.34 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/1.097, allocations: 135.7 kB / 1.023 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.853e-05/1.097, allocations: 33.52 kB / 1.023 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.457e-05/1.097, allocations: 102.1 kB / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.533e-05/1.097, allocations: 18.98 kB / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/1.097, allocations: 0 / 1.023 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001345/1.097, allocations: 318.2 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/1.097, allocations: 26.56 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.56e-05/1.097, allocations: 23.05 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.784e-05/1.098, allocations: 11.88 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.098, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002042/1.098, allocations: 82.95 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.098, allocations: 4 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.098, allocations: 0 / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.098, allocations: 4 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/1.098, allocations: 12.2 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.098, allocations: 4 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/1.098, allocations: 35.03 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/1.098, allocations: 64 / 1.024 GB, free: 14.99 MB / 0.6511 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 9.672e-05/1.098, allocations: 115.8 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.546e-05/1.099, allocations: 11.91 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.118e-05/1.099, allocations: 19.64 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/1.099, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/1.099, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/1.099, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/1.099, allocations: 198.2 kB / 1.024 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/1.099, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/1.099, allocations: 11.92 kB / 1.024 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.099, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/1.099, allocations: 4 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/1.099, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.099, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002311/1.099, allocations: 166.7 kB / 1.024 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/1.099, allocations: 85.02 kB / 1.025 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.423e-05/1.099, allocations: 3.984 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003362/1.1, allocations: 35.59 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/1.1, allocations: 11.98 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/1.1, allocations: 7.109 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001068/1.1, allocations: 104.2 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.1, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003023/1.1, allocations: 26.91 kB / 1.025 GB, free: 14.16 MB / 0.6511 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.0005624/1.101, allocations: 0.705 MB / 1.025 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001992/1.101, allocations: 47.75 kB / 1.025 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/1.101, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/1.101, allocations: 34.67 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/1.102, allocations: 10.41 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006099/1.102, allocations: 157.7 kB / 1.026 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/1.103, allocations: 0.7004 MB / 1.026 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.378e-05/1.103, allocations: 11.98 kB / 1.026 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.636e-05/1.103, allocations: 30.05 kB / 1.026 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of SimCode: time 8.41e-07/1.103, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/1.125, allocations: 2.249 MB / 1.029 GB, free: 10.36 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003838/1.126, allocations: 166.1 kB / 1.029 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.333/3.459, allocations: 0 / 1.029 GB, free: 10.14 MB / 0.6511 GB