Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 289.9 MB / 297.4 MB, free: 6.309 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.001335/0.001335, allocations: 176.8 kB / 366.7 MB, free: 1.633 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.959/1.959, allocations: 205.2 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008292/0.0008291, allocations: 91.55 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.618e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7868/0.7869, allocations: 116.3 MB / 0.9734 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.214/1.001, allocations: 138.4 MB / 1.109 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.001, allocations: 72.98 kB / 1.109 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009/1.01, allocations: 2.929 MB / 1.111 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.906e-06/1.01, allocations: 1.969 kB / 1.111 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.614e-06/1.01, allocations: 0 / 1.111 GB, free: 8.75 MB / 0.7136 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.0004834/1.011, allocations: 415.2 kB / 1.112 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/1.011, allocations: 12.02 kB / 1.112 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/1.011, allocations: 8 kB / 1.112 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/1.011, allocations: 177.6 kB / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/1.011, allocations: 0 / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/1.011, allocations: 8 kB / 1.112 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.839e-05/1.011, allocations: 12 kB / 1.112 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/1.011, allocations: 49.61 kB / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.011, allocations: 0 / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/1.011, allocations: 0 / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/1.011, allocations: 8 kB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/1.012, allocations: 327.2 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.372e-05/1.012, allocations: 38.56 kB / 1.112 GB, free: 7.574 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.641e-05/1.012, allocations: 12.86 kB / 1.112 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/1.012, allocations: 0 / 1.112 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/1.012, allocations: 102 kB / 1.113 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/1.012, allocations: 0 / 1.113 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002121/1.012, allocations: 93.61 kB / 1.113 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/1.013, allocations: 51.41 kB / 1.113 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.063e-05/1.013, allocations: 122.2 kB / 1.113 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/1.013, allocations: 29.7 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.973e-05/1.013, allocations: 94.89 kB / 1.113 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.511e-05/1.013, allocations: 19.81 kB / 1.113 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.905e-05/1.013, allocations: 4 kB / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.013, allocations: 326.8 kB / 1.113 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.971e-05/1.013, allocations: 48 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/1.013, allocations: 98.84 kB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/1.013, allocations: 79.86 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.013, allocations: 0 / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005153/1.014, allocations: 213.4 kB / 1.114 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.639e-05/1.014, allocations: 76.42 kB / 1.114 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.014, allocations: 7.938 kB / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.014, allocations: 0 / 1.114 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/1.014, allocations: 4 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.014, allocations: 6.422 kB / 1.114 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/1.015, allocations: 75.83 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.475e-05/1.015, allocations: 12 kB / 1.114 GB, free: 6.035 MB / 0.7136 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 () * 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.0001155/1.015, allocations: 120.9 kB / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001285/1.015, allocations: 85.67 kB / 1.114 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.53e-05/1.015, allocations: 15.83 kB / 1.114 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/1.015, allocations: 12.62 kB / 1.114 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/1.015, allocations: 4 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/1.015, allocations: 3.469 kB / 1.114 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/1.015, allocations: 4.078 kB / 1.114 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/1.015, allocations: 323 kB / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.015, allocations: 0 / 1.114 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.508e-06/1.015, allocations: 4 kB / 1.114 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/1.015, allocations: 0 / 1.114 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/1.015, allocations: 4 kB / 1.114 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.015, allocations: 4 kB / 1.114 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.015, allocations: 3.984 kB / 1.114 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/1.016, allocations: 194.3 kB / 1.115 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/1.016, allocations: 85.02 kB / 1.115 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/1.016, allocations: 0 / 1.115 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.847e-05/1.016, allocations: 0 / 1.115 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/1.016, allocations: 11.98 kB / 1.115 GB, free: 5.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/1.016, allocations: 10.56 kB / 1.115 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.421e-05/1.016, allocations: 92.03 kB / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/1.016, allocations: 0 / 1.115 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002704/1.016, allocations: 35.88 kB / 1.115 GB, free: 4.957 MB / 0.7136 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) * 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.0004952/1.017, allocations: 0.7357 MB / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003208/1.017, allocations: 250.7 kB / 1.116 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.017, allocations: 0 / 1.116 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.288e-05/1.017, allocations: 31.38 kB / 1.116 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/1.017, allocations: 7.984 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/1.018, allocations: 140.5 kB / 1.116 GB, free: 3.723 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/1.018, allocations: 0.7029 MB / 1.117 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.071e-05/1.018, allocations: 8.672 kB / 1.117 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/1.018, allocations: 19.44 kB / 1.117 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/1.018, allocations: 0 / 1.117 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/1.039, allocations: 2.267 MB / 1.119 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/1.039, allocations: 148.4 kB / 1.119 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.719, allocations: 2.25 kB / 1.119 GB, free: 0.582 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)