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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 190.8 kB / 16.63 MB, free: 6.438 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.461/1.461, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.734/1.734, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001423/0.001423, allocations: 75.16 kB / 0.6718 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.2009, allocations: 114.6 MB / 0.7837 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002306/0.2032, allocations: 0.6817 MB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001709/0.205, allocations: 1.199 MB / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.254e-05/0.205, allocations: 0 / 0.7855 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.751e-05/0.2051, allocations: 7.922 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.61e-05/0.2052, allocations: 7.875 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.2059, allocations: 218.5 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.2061, allocations: 187.8 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.895e-05/0.2062, allocations: 12 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.042e-05/0.2063, allocations: 75.88 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.2064, allocations: 67.72 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.2065, allocations: 16 kB / 0.7861 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.776e-05/0.2065, allocations: 35.91 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.2066, allocations: 8 kB / 0.7861 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.2067, allocations: 59.83 kB / 0.7862 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.2069, allocations: 159.8 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.2069, allocations: 0 / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.694e-06/0.2069, allocations: 4 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2069, allocations: 0 / 0.7863 GB, free: 10.52 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.000528/0.2074, allocations: 442.7 kB / 0.7867 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2075, allocations: 12.03 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.2075, allocations: 34.73 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.729e-05/0.2076, allocations: 12.84 kB / 0.7868 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.56e-05/0.2077, allocations: 160.4 kB / 0.7869 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.393e-05/0.2077, allocations: 8.375 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.908e-05/0.2077, allocations: 12.38 kB / 0.787 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.2078, allocations: 62.17 kB / 0.787 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.2079, allocations: 3.938 kB / 0.787 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2079, allocations: 3.984 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2079, allocations: 0 / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.736e-05/0.2079, allocations: 15.98 kB / 0.787 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004719/0.2084, allocations: 364.6 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.873e-05/0.2085, allocations: 34.52 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.191e-05/0.2085, allocations: 26 kB / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.2085, allocations: 0 / 0.7875 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.2087, allocations: 91.36 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.2088, allocations: 0 / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002552/0.209, allocations: 117.5 kB / 0.7877 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.2091, allocations: 59.77 kB / 0.7877 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.402e-05/0.2091, allocations: 121.8 kB / 0.7878 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.2092, allocations: 41.64 kB / 0.7879 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.058e-05/0.2093, allocations: 96.27 kB / 0.788 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.2093, allocations: 23.73 kB / 0.788 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-05/0.2094, allocations: 53.62 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.2095, allocations: 322.8 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.2096, allocations: 59.97 kB / 0.7884 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.2097, allocations: 114 kB / 0.7885 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.2099, allocations: 177.3 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.21, allocations: 4 kB / 0.7887 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004105/0.2104, allocations: 280.7 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.2104, allocations: 67.39 kB / 0.789 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2104, allocations: 4 kB / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.2105, allocations: 0 / 0.789 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.804e-05/0.2105, allocations: 12 kB / 0.789 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.2105, allocations: 7.984 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.2108, allocations: 56.03 kB / 0.7891 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.2109, allocations: 11.94 kB / 0.7891 GB, free: 7.336 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 9.539e-05/0.211, allocations: 133.8 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.211, allocations: 7.906 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.211, allocations: 8.375 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.211, allocations: 0 / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.211, allocations: 4 kB / 0.7892 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.211, allocations: 0 / 0.7892 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003016/0.2114, allocations: 358.5 kB / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2114, allocations: 0 / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.039e-05/0.2114, allocations: 4 kB / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2114, allocations: 0 / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.2114, allocations: 0 / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2114, allocations: 0 / 0.7896 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2114, allocations: 7.938 kB / 0.7896 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.2116, allocations: 203.5 kB / 0.7898 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.2116, allocations: 81.11 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2117, allocations: 15.81 kB / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.26e-05/0.2117, allocations: 0 / 0.7899 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.2118, allocations: 11.98 kB / 0.7899 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.2118, allocations: 7.938 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.2118, allocations: 91.27 kB / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2118, allocations: 0 / 0.79 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002881/0.2121, allocations: 36 kB / 0.79 GB, free: 6.285 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.0004322/0.2126, allocations: 0.7319 MB / 0.7907 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003236/0.2129, allocations: 254.6 kB / 0.791 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2129, allocations: 320 / 0.791 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.607e-05/0.213, allocations: 39.97 kB / 0.791 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.2133, allocations: 22.58 kB / 0.791 GB, free: 5.195 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.2151, allocations: 1.863 MB / 0.7929 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001985/0.2153, allocations: 0.6846 MB / 0.7935 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.175e-05/0.2154, allocations: 16.66 kB / 0.7935 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.2154, allocations: 23.38 kB / 0.7936 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of SimCode: time 1.91e-07/0.2154, allocations: 0 / 0.7936 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.2323, allocations: 2.995 MB / 0.7965 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/7.917, allocations: 5.109 kB / 0.7965 GB, free: 15.56 MB / 0.6231 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/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)