Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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.Integers.Validation.OnCounter,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",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.361/2.361, allocations: 248.5 MB / 261.1 MB, free: 6.02 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.001417/0.001416, allocations: 178 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.255/2.255, allocations: 205.1 MB / 0.571 GB, free: 11.8 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.001043/0.001043, allocations: 90.48 kB / 0.6754 GB, free: 0.8867 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.658e-05/4.681e-05, allocations: 4 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.204, allocations: 106.2 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.847/1.051, allocations: 131.3 MB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/1.051, allocations: 68.53 kB / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003896/1.055, allocations: 0.9225 MB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.274e-06/1.055, allocations: 0 / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.087e-06/1.055, allocations: 0 / 1.02 GB, free: 3.051 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.00062/1.056, allocations: 366.3 kB / 1.02 GB, free: 2.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/1.056, allocations: 8.031 kB / 1.02 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.211e-05/1.056, allocations: 34.5 kB / 1.02 GB, free: 2.605 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/1.056, allocations: 7.906 kB / 1.02 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/1.056, allocations: 173.6 kB / 1.02 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/1.056, allocations: 4 kB / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.296e-05/1.056, allocations: 7.609 kB / 1.02 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/1.057, allocations: 61.08 kB / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.057, allocations: 0 / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.057, allocations: 0 / 1.021 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/1.057, allocations: 3.938 kB / 1.021 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.851e-05/1.057, allocations: 18.75 kB / 1.021 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/1.058, allocations: 305.2 kB / 1.021 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/1.058, allocations: 45.02 kB / 1.021 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.782e-05/1.058, allocations: 26.28 kB / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/1.058, allocations: 0 / 1.021 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002033/1.058, allocations: 75.5 kB / 1.021 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/1.058, allocations: 4 kB / 1.021 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003139/1.058, allocations: 100.1 kB / 1.021 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/1.058, allocations: 55.47 kB / 1.021 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/1.059, allocations: 104.6 kB / 1.021 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/1.059, allocations: 29.7 kB / 1.021 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/1.059, allocations: 91.3 kB / 1.021 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/1.059, allocations: 18.88 kB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/1.059, allocations: 3.5 kB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.059, allocations: 322.6 kB / 1.022 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.379e-05/1.059, allocations: 19.75 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-05/1.059, allocations: 47.73 kB / 1.022 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.481e-05/1.059, allocations: 19.23 kB / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.059, allocations: 480 / 1.022 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002241/1.059, allocations: 108.1 kB / 1.022 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.059, allocations: 4 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/1.059, allocations: 0 / 1.022 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/1.059, allocations: 4 kB / 1.022 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.531e-05/1.06, allocations: 7.938 kB / 1.022 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.06, allocations: 7.953 kB / 1.022 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001722/1.06, allocations: 15.36 kB / 1.022 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/1.06, allocations: 12.09 kB / 1.022 GB, free: 0.8828 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,onCounter.reset,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001044/1.06, allocations: 113.4 kB / 1.022 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/1.06, allocations: 11.89 kB / 1.022 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.849e-05/1.06, allocations: 12.38 kB / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/1.06, allocations: 0 / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/1.06, allocations: 0 / 1.022 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/1.06, allocations: 3.953 kB / 1.022 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007708/1.061, allocations: 388.7 kB / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.061, allocations: 0 / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/1.061, allocations: 0 / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.061, allocations: 0 / 1.022 GB, free: 340 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/1.061, allocations: 15.25 kB / 1.022 GB, free: 328 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/1.061, allocations: 7.922 kB / 1.022 GB, free: 320 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.061, allocations: 3.938 kB / 1.022 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/1.061, allocations: 181.4 kB / 1.023 GB, free: 132 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.708e-05/1.061, allocations: 85 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/1.061, allocations: 4 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/1.062, allocations: 19.19 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.196e-05/1.062, allocations: 7.984 kB / 1.023 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/1.062, allocations: 4.047 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.954e-05/1.062, allocations: 101.8 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.062, allocations: 0 / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003225/1.062, allocations: 12 kB / 1.023 GB, free: 15.89 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: 9 (booPul.y,onCounter.reset,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * Number of discrete states: 1 (onCounter.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006619/1.063, allocations: 0.7213 MB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002251/1.063, allocations: 57.75 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.063, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/1.063, allocations: 31.42 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/1.064, allocations: 15.39 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006427/1.064, allocations: 140.5 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/1.065, allocations: 0.6928 MB / 1.024 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.771e-05/1.065, allocations: 8.656 kB / 1.024 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.839e-05/1.065, allocations: 18.5 kB / 1.024 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of SimCode: time 1.342e-06/1.065, allocations: 0 / 1.024 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/1.086, allocations: 1.806 MB / 1.026 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003561/1.087, allocations: 155.8 kB / 1.026 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.434/3.521, allocations: 0 / 1.026 GB, free: 12.27 MB / 0.6511 GB