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.151/2.151, allocations: 251 MB / 265.9 MB, free: 11.7 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.001511/0.00151, allocations: 187.2 kB / 325.5 MB, free: 2.895 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.495/2.495, allocations: 205.4 MB / 0.5764 GB, free: 20.75 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.00109/0.00109, allocations: 92.28 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 12.53 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2017, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/0.4206, allocations: 131.3 MB / 1.027 GB, free: 13.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.4209, allocations: 67.95 kB / 1.027 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003739/0.4246, allocations: 0.9269 MB / 1.028 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.68e-06/0.4247, allocations: 0 / 1.028 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.311e-05/0.4247, allocations: 3.938 kB / 1.028 GB, free: 12.93 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.0007285/0.4255, allocations: 372.9 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.4255, allocations: 8.031 kB / 1.028 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.436e-05/0.4256, allocations: 42.55 kB / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.4256, allocations: 7.906 kB / 1.028 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.4258, allocations: 171 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.4258, allocations: 0 / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.4259, allocations: 8 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.426, allocations: 49.67 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4261, allocations: 0 / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.4261, allocations: 4 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4261, allocations: 7.984 kB / 1.029 GB, free: 12.18 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.198e-05/0.4262, allocations: 23.97 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006196/0.4268, allocations: 296.8 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000145/0.427, allocations: 50.58 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.427, allocations: 3.984 kB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.4273, allocations: 83.34 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.044e-06/0.4273, allocations: 3.938 kB / 1.029 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.0003609/0.4277, allocations: 105.6 kB / 1.029 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/0.4277, allocations: 59.36 kB / 1.029 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4278, allocations: 108.9 kB / 1.029 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.4279, allocations: 37.7 kB / 1.029 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.428, allocations: 88 kB / 1.03 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.214e-05/0.428, allocations: 19.86 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/0.428, allocations: 7.938 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4282, allocations: 318.8 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.741e-05/0.4282, allocations: 15.98 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.7e-05/0.4283, allocations: 48.28 kB / 1.03 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.694e-05/0.4284, allocations: 27.94 kB / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4284, allocations: 0 / 1.03 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002225/0.4286, allocations: 97.52 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4287, allocations: 4 kB / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.4287, allocations: 0 / 1.03 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.4287, allocations: 4 kB / 1.03 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.594e-05/0.4288, allocations: 12.03 kB / 1.03 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.4288, allocations: 7.953 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.429, allocations: 15.98 kB / 1.03 GB, free: 10.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.429, allocations: 4 kB / 1.03 GB, free: 10.62 MB / 0.6823 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 () * Number of clocked 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.0001273/0.4292, allocations: 126.9 kB / 1.03 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.3e-05/0.4292, allocations: 7.906 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.001e-05/0.4292, allocations: 9.125 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4293, allocations: 4 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4293, allocations: 3.938 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.4293, allocations: 7.953 kB / 1.03 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007836/0.4301, allocations: 378.4 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.4301, allocations: 4 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.4301, allocations: 3.984 kB / 1.031 GB, free: 10.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.4302, allocations: 4 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4302, allocations: 4 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4302, allocations: 3.953 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.4302, allocations: 0 / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.4305, allocations: 192.2 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.4306, allocations: 81.11 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.4306, allocations: 4 kB / 1.031 GB, free: 9.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.4308, allocations: 23.97 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.173e-05/0.4309, allocations: 11.94 kB / 1.031 GB, free: 9.676 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.4309, allocations: 7.984 kB / 1.031 GB, free: 9.668 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.145e-05/0.431, allocations: 91.28 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.431, allocations: 0 / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000308/0.4313, allocations: 12 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: 9 (booPul.y,onCounter.reset,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * 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.0005976/0.4319, allocations: 0.7253 MB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002015/0.4321, allocations: 55.95 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4321, allocations: 0 / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.4323, allocations: 35.92 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.0003154/0.4326, allocations: 20.12 kB / 1.032 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.434, allocations: 1.129 MB / 1.033 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002871/0.4343, allocations: 0.6965 MB / 1.034 GB, free: 6.781 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.861e-05/0.4344, allocations: 8.656 kB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.76e-05/0.4344, allocations: 19.44 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of SimCode: time 1.062e-06/0.4345, allocations: 0 / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.4597, allocations: 1.779 MB / 1.035 GB, free: 5.109 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000328/0.4601, allocations: 188.2 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/2.809, allocations: 0 / 1.036 GB, free: 4.867 MB / 0.6823 GB