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.0008804/0.0008805, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006263/0.006263, allocations: 169.9 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.85/1.85, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.856/1.856, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005548/0.0005548, allocations: 12.69 kB / 0.6743 GB, free: 25.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3142, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00124/0.3155, allocations: 413.6 kB / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002071/0.3176, allocations: 1.22 MB / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.37e-05/0.3177, allocations: 0 / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.305e-05/0.3177, allocations: 0 / 0.7895 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.3178, allocations: 11.92 kB / 0.7895 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008171/0.3186, allocations: 201 kB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002349/0.3189, allocations: 155.7 kB / 0.7898 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.319, allocations: 11.98 kB / 0.7898 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.3192, allocations: 63.88 kB / 0.7899 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.3193, allocations: 43.88 kB / 0.7899 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.3194, allocations: 12 kB / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.444e-05/0.3195, allocations: 19.98 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.731e-05/0.3195, allocations: 15.92 kB / 0.79 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001153/0.3196, allocations: 77.53 kB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3199, allocations: 147.8 kB / 0.7902 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3199, allocations: 0 / 0.7902 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3199, allocations: 0 / 0.7902 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.3199, allocations: 0 / 0.7902 GB, free: 9.168 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.0006305/0.3205, allocations: 414.7 kB / 0.7906 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.3206, allocations: 12.03 kB / 0.7906 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.036e-05/0.3207, allocations: 8.938 kB / 0.7906 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3208, allocations: 172.2 kB / 0.7908 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.71e-05/0.3209, allocations: 8.375 kB / 0.7908 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.3209, allocations: 16.31 kB / 0.7908 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.3211, allocations: 46.23 kB / 0.7909 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.3211, allocations: 192 / 0.7909 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.3211, allocations: 11.94 kB / 0.7909 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3211, allocations: 0 / 0.7909 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.268e-05/0.3212, allocations: 19.98 kB / 0.7909 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.3219, allocations: 356.7 kB / 0.7912 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.3221, allocations: 38.52 kB / 0.7913 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.3221, allocations: 20.94 kB / 0.7913 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.645e-06/0.3221, allocations: 0 / 0.7913 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.3224, allocations: 103.1 kB / 0.7914 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.3224, allocations: 0 / 0.7914 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0003301/0.3227, allocations: 129.5 kB / 0.7915 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.3228, allocations: 55.41 kB / 0.7916 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.3229, allocations: 117.8 kB / 0.7917 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.3229, allocations: 29.7 kB / 0.7917 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.323, allocations: 96.36 kB / 0.7918 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.323, allocations: 19.72 kB / 0.7918 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.3231, allocations: 29.7 kB / 0.7918 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3232, allocations: 314.8 kB / 0.7921 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3234, allocations: 63.95 kB / 0.7922 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3236, allocations: 112.5 kB / 0.7923 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.3238, allocations: 189.2 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3238, allocations: 0 / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004714/0.3243, allocations: 280.9 kB / 0.7928 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.945e-05/0.3244, allocations: 67.39 kB / 0.7928 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3244, allocations: 4.156 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.3244, allocations: 4 kB / 0.7928 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.586e-05/0.3245, allocations: 7.938 kB / 0.7928 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.3245, allocations: 4 kB / 0.7928 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004238/0.3249, allocations: 83.72 kB / 0.7929 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.97e-05/0.325, allocations: 15.98 kB / 0.7929 GB, free: 6.055 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 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.3251, allocations: 124.9 kB / 0.793 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.3252, allocations: 11.89 kB / 0.7931 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.3252, allocations: 12.38 kB / 0.7931 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3252, allocations: 4 kB / 0.7931 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.3252, allocations: 3.938 kB / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3252, allocations: 0 / 0.7931 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004107/0.3257, allocations: 362.8 kB / 0.7934 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3257, allocations: 0 / 0.7934 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-05/0.3257, allocations: 3.984 kB / 0.7934 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.3257, allocations: 4 kB / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.3257, allocations: 0 / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3257, allocations: 0 / 0.7934 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3257, allocations: 4 kB / 0.7934 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.326, allocations: 203.3 kB / 0.7936 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.3261, allocations: 89.08 kB / 0.7937 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.3261, allocations: 0 / 0.7937 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.613e-05/0.3262, allocations: 8 kB / 0.7937 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3262, allocations: 7.984 kB / 0.7937 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.3263, allocations: 0 / 0.7937 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.902e-05/0.3263, allocations: 103.2 kB / 0.7938 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3264, allocations: 0 / 0.7938 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003213/0.3267, allocations: 32 kB / 0.7939 GB, free: 5.004 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002778/0.327, allocations: 99.25 kB / 0.794 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005033/0.3275, allocations: 258.6 kB / 0.7942 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3275, allocations: 0 / 0.7942 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.363e-05/0.3276, allocations: 43.92 kB / 0.7942 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.3279, allocations: 16.3 kB / 0.7943 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004837/0.3284, allocations: 179.4 kB / 0.7944 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.3288, allocations: 0.6926 MB / 0.7951 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.686e-05/0.3288, allocations: 12.66 kB / 0.7951 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.3289, allocations: 19.38 kB / 0.7951 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of SimCode: time 1.022e-06/0.3289, allocations: 0 / 0.7951 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of Templates: time 0.004866/0.3337, allocations: 1.822 MB / 0.7969 GB, free: 1.809 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: