Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.688/1.688, allocations: 288.2 MB / 303.2 MB, free: 8.16 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 183.6 kB / 371.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.772/1.772, allocations: 205.4 MB / 0.6305 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009055/0.0009055, allocations: 82.94 kB / 0.7439 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004129, allocations: 12.78 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2706, allocations: 115.3 MB / 0.9795 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8039/1.075, allocations: 138.2 MB / 1.114 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/1.075, allocations: 73.92 kB / 1.114 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008885/1.084, allocations: 2.951 MB / 1.117 GB, free: 32.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.765e-06/1.084, allocations: 0 / 1.117 GB, free: 32.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.091e-05/1.084, allocations: 0 / 1.117 GB, free: 32.07 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005551/1.084, allocations: 423.7 kB / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.084, allocations: 11.55 kB / 1.118 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/1.085, allocations: 41.88 kB / 1.118 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.177e-05/1.085, allocations: 11.56 kB / 1.118 GB, free: 31.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/1.085, allocations: 174.6 kB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/1.085, allocations: 7.719 kB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/1.085, allocations: 11.25 kB / 1.118 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/1.085, allocations: 48.89 kB / 1.118 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/1.085, allocations: 0 / 1.118 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/1.085, allocations: 0 / 1.118 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.085, allocations: 2.766 kB / 1.118 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.614e-05/1.085, allocations: 13.75 kB / 1.118 GB, free: 31.35 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005068/1.086, allocations: 363.4 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/1.086, allocations: 35.52 kB / 1.118 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.438e-06/1.086, allocations: 0 / 1.118 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001852/1.086, allocations: 94.22 kB / 1.119 GB, free: 31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/1.086, allocations: 4 kB / 1.119 GB, free: 31 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002647/1.086, allocations: 127.5 kB / 1.119 GB, free: 30.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/1.086, allocations: 58.69 kB / 1.119 GB, free: 30.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.088e-05/1.086, allocations: 110 kB / 1.119 GB, free: 30.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/1.086, allocations: 32.89 kB / 1.119 GB, free: 30.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/1.086, allocations: 93.75 kB / 1.119 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/1.086, allocations: 14.09 kB / 1.119 GB, free: 30.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/1.086, allocations: 7.031 kB / 1.119 GB, free: 30.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001204/1.087, allocations: 328.6 kB / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/1.087, allocations: 63.84 kB / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001314/1.087, allocations: 107.6 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/1.087, allocations: 124.4 kB / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.087, allocations: 0 / 1.12 GB, free: 30.22 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004005/1.087, allocations: 273.8 kB / 1.12 GB, free: 30.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/1.087, allocations: 72.55 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.087, allocations: 0 / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/1.087, allocations: 7.844 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/1.088, allocations: 3.844 kB / 1.12 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/1.088, allocations: 7.922 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/1.088, allocations: 78.45 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/1.088, allocations: 18.48 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001231/1.088, allocations: 127.2 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/1.088, allocations: 10.47 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.565e-05/1.088, allocations: 10.61 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/1.088, allocations: 0 / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/1.088, allocations: 3.906 kB / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.088, allocations: 0 / 1.12 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/1.088, allocations: 362.9 kB / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.089, allocations: 0 / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.031e-05/1.089, allocations: 7.812 kB / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/1.089, allocations: 0 / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/1.089, allocations: 0 / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.089, allocations: 0 / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.089, allocations: 480 / 1.121 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/1.089, allocations: 210.2 kB / 1.121 GB, free: 29.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/1.089, allocations: 89.09 kB / 1.121 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/1.089, allocations: 3.812 kB / 1.121 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.149e-05/1.089, allocations: 0 / 1.121 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.585e-05/1.089, allocations: 14.25 kB / 1.121 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/1.089, allocations: 6.062 kB / 1.121 GB, free: 29.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.384e-05/1.089, allocations: 89.2 kB / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/1.089, allocations: 0 / 1.121 GB, free: 29.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002867/1.089, allocations: 41.66 kB / 1.121 GB, free: 29.27 MB / 0.698 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * 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.0006084/1.09, allocations: 0.7441 MB / 1.122 GB, free: 28.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003169/1.09, allocations: 254.9 kB / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.09, allocations: 0 / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.082e-05/1.09, allocations: 29.45 kB / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/1.091, allocations: 21.86 kB / 1.122 GB, free: 28.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009325/1.091, allocations: 1.322 MB / 1.123 GB, free: 27.16 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/1.092, allocations: 0.6952 MB / 1.124 GB, free: 26.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.188e-05/1.092, allocations: 4.547 kB / 1.124 GB, free: 26.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.013e-05/1.092, allocations: 20.67 kB / 1.124 GB, free: 26.46 MB / 0.698 GB Notification: Performance of SimCode: time 5.31e-07/1.092, allocations: 0 / 1.124 GB, free: 26.46 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/1.105, allocations: 2.653 MB / 1.127 GB, free: 26.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/1.106, allocations: 206.9 kB / 1.127 GB, free: 25.96 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.656, allocations: 3.094 kB / 1.127 GB, free: 25.96 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)