Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.449/1.449, allocations: 249.5 MB / 257 MB, free: 6.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009972/0.0009975, allocations: 176.9 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205.3 MB / 0.5671 GB, free: 15.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007552/0.0007552, allocations: 96.11 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.989e-05/1.992e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1704, allocations: 106.3 MB / 0.8853 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6085/0.7789, allocations: 131.7 MB / 1.014 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.7792, allocations: 78.45 kB / 1.014 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002324/0.7815, allocations: 0.9036 MB / 1.015 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7815, allocations: 4 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.7815, allocations: 3.875 kB / 1.015 GB, free: 4.73 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004047/0.782, allocations: 354.2 kB / 1.015 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.782, allocations: 12.03 kB / 1.015 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.782, allocations: 7.906 kB / 1.015 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.7822, allocations: 171 kB / 1.015 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.7822, allocations: 11.92 kB / 1.015 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.7823, allocations: 6.734 kB / 1.015 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.604e-05/0.7823, allocations: 15.62 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.728e-05/0.7824, allocations: 45.5 kB / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.7824, allocations: 0 / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.7825, allocations: 0 / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.7825, allocations: 0 / 1.016 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000418/0.7829, allocations: 284.5 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/0.783, allocations: 46.27 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.368e-05/0.783, allocations: 16.73 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.783, allocations: 0 / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.7832, allocations: 83.06 kB / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.323e-06/0.7832, allocations: 0 / 1.016 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0001857/0.7834, allocations: 85.41 kB / 1.016 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.7834, allocations: 51.41 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.183e-05/0.7835, allocations: 112.8 kB / 1.016 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.7835, allocations: 25.7 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.7836, allocations: 91.56 kB / 1.016 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.7836, allocations: 15.67 kB / 1.016 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.7836, allocations: 4 kB / 1.016 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.7837, allocations: 322.7 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.439e-05/0.7838, allocations: 15.81 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.802e-05/0.7838, allocations: 51.78 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.379e-05/0.7838, allocations: 19.62 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7839, allocations: 4 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001171/0.784, allocations: 85.12 kB / 1.017 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.784, allocations: 9.875 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.784, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.784, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.7841, allocations: 17.11 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.7841, allocations: 0 / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.298e-05/0.7842, allocations: 23.98 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.495e-06/0.7842, allocations: 7.875 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,onCounter.reset,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 7.574e-05/0.7843, allocations: 111.1 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001074/0.7844, allocations: 81.12 kB / 1.017 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.7844, allocations: 7.906 kB / 1.017 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.301e-05/0.7845, allocations: 12.48 kB / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7845, allocations: 0 / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7845, allocations: 0 / 1.017 GB, free: 2.469 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.7845, allocations: 7.953 kB / 1.017 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.7849, allocations: 355.9 kB / 1.017 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.7849, allocations: 0 / 1.017 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.149e-05/0.7849, allocations: 4.5 kB / 1.017 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.7849, allocations: 0 / 1.017 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.785, allocations: 11.81 kB / 1.017 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.785, allocations: 0 / 1.017 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.785, allocations: 3.953 kB / 1.017 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.7851, allocations: 177.8 kB / 1.018 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.7852, allocations: 81.02 kB / 1.018 GB, free: 1.797 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.7852, allocations: 7.938 kB / 1.018 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.7853, allocations: 15.98 kB / 1.018 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.7854, allocations: 15.25 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.7854, allocations: 7.984 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.26e-05/0.7854, allocations: 89.91 kB / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7854, allocations: 0 / 1.018 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002204/0.7857, allocations: 12 kB / 1.018 GB, free: 1.66 MB / 0.6355 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 (booPul.y,onCounter.reset,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * 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.0004172/0.7861, allocations: 0.7212 MB / 1.019 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.7862, allocations: 48.92 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7862, allocations: 0 / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.957e-05/0.7863, allocations: 26.62 kB / 1.019 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.7865, allocations: 15.45 kB / 1.019 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003877/0.7869, allocations: 140.9 kB / 1.019 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.7872, allocations: 0.694 MB / 1.019 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.162e-05/0.7872, allocations: 8.656 kB / 1.019 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.7873, allocations: 18 kB / 1.019 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of SimCode: time 4.01e-07/0.7873, allocations: 0 / 1.019 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.8044, allocations: 1.465 MB / 1.021 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.8047, allocations: 168.3 kB / 1.021 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.386/2.191, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)