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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009849/0.0009849, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009878/0.000988, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005326/0.000533, allocations: 16.28 kB / 0.6736 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2576, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0008887/0.2585, allocations: 404.1 kB / 0.7875 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.2599, allocations: 1.14 MB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.26, allocations: 4 kB / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.312e-05/0.26, allocations: 0 / 0.7886 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.254e-05/0.2601, allocations: 11.97 kB / 0.7886 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.2607, allocations: 201.3 kB / 0.7888 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.2608, allocations: 87.89 kB / 0.7889 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.2609, allocations: 11.98 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.89e-05/0.261, allocations: 59.88 kB / 0.789 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.2611, allocations: 43.88 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.2612, allocations: 8 kB / 0.789 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.805e-05/0.2612, allocations: 35.91 kB / 0.7891 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/0.2613, allocations: 4 kB / 0.7891 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.373e-05/0.2613, allocations: 41.7 kB / 0.7891 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.2615, allocations: 112 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.2615, allocations: 0 / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2615, allocations: 3.938 kB / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.2615, allocations: 0 / 0.7892 GB, free: 9.809 MB / 0.6075 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.0004621/0.262, allocations: 410.6 kB / 0.7896 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.262, allocations: 11.97 kB / 0.7896 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.2621, allocations: 8 kB / 0.7896 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.2622, allocations: 174.9 kB / 0.7898 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.2622, allocations: 7.984 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.2623, allocations: 19.94 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.2624, allocations: 49.67 kB / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.2624, allocations: 0 / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2624, allocations: 0 / 0.7899 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.2624, allocations: 4 kB / 0.7899 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.972e-05/0.2625, allocations: 8 kB / 0.7899 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.263, allocations: 368.6 kB / 0.7902 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.2631, allocations: 34.56 kB / 0.7903 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.664e-06/0.2631, allocations: 0 / 0.7903 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.2633, allocations: 99.3 kB / 0.7904 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.283e-06/0.2633, allocations: 0 / 0.7904 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002617/0.2635, allocations: 117.6 kB / 0.7905 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.64e-05/0.2636, allocations: 63.38 kB / 0.7905 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.964e-05/0.2637, allocations: 125.7 kB / 0.7907 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.2637, allocations: 29.7 kB / 0.7907 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.127e-05/0.2638, allocations: 96.36 kB / 0.7908 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.592e-05/0.2638, allocations: 11.81 kB / 0.7908 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/0.2638, allocations: 4 kB / 0.7908 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.264, allocations: 322.8 kB / 0.7911 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.2641, allocations: 63.97 kB / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.2642, allocations: 108.1 kB / 0.7913 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.2644, allocations: 123.7 kB / 0.7914 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2644, allocations: 4 kB / 0.7914 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003984/0.2648, allocations: 276.8 kB / 0.7917 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.2649, allocations: 67.41 kB / 0.7917 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2649, allocations: 7.922 kB / 0.7917 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2649, allocations: 4 kB / 0.7917 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.845e-05/0.265, allocations: 11.94 kB / 0.7917 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.265, allocations: 4 kB / 0.7917 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003602/0.2653, allocations: 79.89 kB / 0.7918 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.2654, allocations: 23.92 kB / 0.7918 GB, free: 6.836 MB / 0.6075 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 9.916e-05/0.2655, allocations: 124.3 kB / 0.792 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.409e-05/0.2655, allocations: 11.89 kB / 0.792 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.198e-05/0.2655, allocations: 12.38 kB / 0.792 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2655, allocations: 0 / 0.792 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2656, allocations: 0 / 0.792 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.2656, allocations: 0 / 0.792 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002977/0.2659, allocations: 358.5 kB / 0.7923 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2659, allocations: 4 kB / 0.7923 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.136e-05/0.2659, allocations: 7.922 kB / 0.7923 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.2659, allocations: 0 / 0.7923 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2659, allocations: 4 kB / 0.7923 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2659, allocations: 0 / 0.7923 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2659, allocations: 0 / 0.7923 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.2661, allocations: 195.5 kB / 0.7925 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.2662, allocations: 92.98 kB / 0.7926 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.2662, allocations: 4 kB / 0.7926 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.636e-05/0.2662, allocations: 8 kB / 0.7926 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.696e-05/0.2663, allocations: 7.984 kB / 0.7926 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.2663, allocations: 4 kB / 0.7926 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.801e-05/0.2664, allocations: 95.22 kB / 0.7927 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2664, allocations: 0 / 0.7927 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002673/0.2666, allocations: 32 kB / 0.7928 GB, free: 5.797 MB / 0.6075 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.0001455/0.2668, allocations: 99.44 kB / 0.7929 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.2671, allocations: 274.5 kB / 0.7931 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2671, allocations: 0 / 0.7931 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.107e-05/0.2672, allocations: 28 kB / 0.7931 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.2674, allocations: 11.98 kB / 0.7932 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003287/0.2677, allocations: 191.2 kB / 0.7933 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.268, allocations: 0.6926 MB / 0.794 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.68e-05/0.268, allocations: 8.672 kB / 0.794 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.268, allocations: 11.44 kB / 0.794 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.268, allocations: 0 / 0.794 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of Templates: time 0.003938/0.272, allocations: 1.744 MB / 0.7957 GB, free: 2.68 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) Environment - environmentSimulation: