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.705/1.705, allocations: 289.7 MB / 302.3 MB, free: 2.168 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.001136/0.001136, allocations: 187.2 kB / 371.6 MB, free: 3.414 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.608/1.608, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008881/0.000888, allocations: 86.56 kB / 0.745 GB, free: 54.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.194e-05/5.196e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3037, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9909/1.295, allocations: 139.1 MB / 1.116 GB, free: 44.73 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003372/1.295, allocations: 73.59 kB / 1.116 GB, free: 44.71 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008279/1.303, allocations: 2.931 MB / 1.119 GB, free: 43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.685e-06/1.304, allocations: 0 / 1.119 GB, free: 43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.058e-05/1.304, allocations: 0 / 1.119 GB, free: 43 MB / 0.7448 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.000507/1.304, allocations: 413.3 kB / 1.119 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.048e-05/1.304, allocations: 8.031 kB / 1.119 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.964e-05/1.304, allocations: 36.3 kB / 1.119 GB, free: 42.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/1.304, allocations: 17.09 kB / 1.119 GB, free: 42.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/1.304, allocations: 178 kB / 1.119 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/1.304, allocations: 11.27 kB / 1.119 GB, free: 42.28 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/1.305, allocations: 8 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/1.305, allocations: 51.86 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/1.305, allocations: 0 / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/1.305, allocations: 0 / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.257e-05/1.305, allocations: 0 / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/1.305, allocations: 12.31 kB / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/1.305, allocations: 361.5 kB / 1.12 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/1.306, allocations: 36.77 kB / 1.12 GB, free: 41.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.866e-05/1.306, allocations: 17.3 kB / 1.12 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/1.306, allocations: 0.8906 kB / 1.12 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001911/1.306, allocations: 95.14 kB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.593e-06/1.306, allocations: 4 kB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002768/1.306, allocations: 98 kB / 1.12 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/1.306, allocations: 58.2 kB / 1.12 GB, free: 41.63 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.168e-05/1.306, allocations: 124 kB / 1.12 GB, free: 41.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/1.306, allocations: 30.27 kB / 1.12 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/1.306, allocations: 90.94 kB / 1.12 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/1.306, allocations: 15.19 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/1.306, allocations: 7.422 kB / 1.12 GB, free: 41.38 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001046/1.307, allocations: 322 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/1.307, allocations: 60.2 kB / 1.121 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/1.307, allocations: 105.1 kB / 1.121 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/1.307, allocations: 119.5 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.307, allocations: 4 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004011/1.307, allocations: 274.6 kB / 1.121 GB, free: 40.6 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.805e-05/1.308, allocations: 73.56 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.308, allocations: 4 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/1.308, allocations: 7.234 kB / 1.121 GB, free: 40.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/1.308, allocations: 4 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.308, allocations: 4.719 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000321/1.308, allocations: 73.34 kB / 1.121 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/1.308, allocations: 15.45 kB / 1.121 GB, free: 40.45 MB / 0.7448 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 9.852e-05/1.308, allocations: 124 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/1.308, allocations: 8.75 kB / 1.121 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.972e-05/1.308, allocations: 12.38 kB / 1.121 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.308, allocations: 1.125 kB / 1.121 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/1.308, allocations: 4.359 kB / 1.121 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/1.308, allocations: 0 / 1.121 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/1.309, allocations: 357.2 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.309, allocations: 0 / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.729e-06/1.309, allocations: 4 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/1.309, allocations: 0.8438 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/1.309, allocations: 3.516 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/1.309, allocations: 0.5625 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.309, allocations: 4 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/1.309, allocations: 201.2 kB / 1.122 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/1.309, allocations: 88.58 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/1.309, allocations: 0.75 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.028e-05/1.309, allocations: 0 / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/1.309, allocations: 15.78 kB / 1.122 GB, free: 39.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/1.309, allocations: 4 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.115e-05/1.309, allocations: 91.77 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.309, allocations: 0 / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000308/1.309, allocations: 43.25 kB / 1.122 GB, free: 39.52 MB / 0.7448 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.0004893/1.31, allocations: 0.7472 MB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003596/1.31, allocations: 256.4 kB / 1.123 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.31, allocations: 0 / 1.123 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/1.31, allocations: 27.75 kB / 1.123 GB, free: 38.55 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/1.311, allocations: 20.33 kB / 1.123 GB, free: 38.54 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005221/1.311, allocations: 148.5 kB / 1.123 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/1.311, allocations: 0.6908 MB / 1.124 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.316e-05/1.311, allocations: 6.266 kB / 1.124 GB, free: 37.67 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.027e-05/1.311, allocations: 24.48 kB / 1.124 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of SimCode: time 3.3e-07/1.311, allocations: 4 kB / 1.124 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/1.326, allocations: 2.675 MB / 1.127 GB, free: 36.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/1.326, allocations: 156.3 kB / 1.127 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.96, allocations: 2.953 kB / 1.127 GB, free: 35.98 MB / 0.7448 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)