Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.744/1.744, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.001292/0.001292, allocations: 183 kB / 372 MB, free: 10.25 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.55/1.55, allocations: 205.4 MB / 0.6307 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007148/0.0007147, allocations: 99.5 kB / 0.7441 GB, free: 5.875 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006338/0.0006339, allocations: 16.3 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1906, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0007197/0.1914, allocations: 398 kB / 0.98 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001406/0.1928, allocations: 1.177 MB / 0.9812 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.1929, allocations: 4 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.1929, allocations: 3.938 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.264e-05/0.193, allocations: 11.91 kB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006205/0.1937, allocations: 201.2 kB / 0.9814 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.1938, allocations: 131.8 kB / 0.9815 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.526e-05/0.1939, allocations: 11.98 kB / 0.9815 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.997e-05/0.194, allocations: 63.81 kB / 0.9816 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.683e-05/0.1941, allocations: 47.88 kB / 0.9816 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.029e-05/0.1941, allocations: 8 kB / 0.9816 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.1942, allocations: 27.97 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1942, allocations: 4 kB / 0.9817 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.1943, allocations: 49.64 kB / 0.9817 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1944, allocations: 112 kB / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1944, allocations: 0 / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1944, allocations: 0 / 0.9818 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.1944, allocations: 0 / 0.9818 GB, free: 25.29 MB / 0.6198 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.0003658/0.1948, allocations: 406.6 kB / 0.9822 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1948, allocations: 12.02 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.879e-05/0.1949, allocations: 34.56 kB / 0.9823 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.1949, allocations: 8 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.1e-05/0.195, allocations: 170.9 kB / 0.9824 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.195, allocations: 12 kB / 0.9824 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.1951, allocations: 12 kB / 0.9825 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/0.1952, allocations: 53.61 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1952, allocations: 3.938 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.1952, allocations: 4 kB / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.1952, allocations: 0 / 0.9825 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.42e-05/0.1952, allocations: 15.98 kB / 0.9825 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004023/0.1956, allocations: 360.7 kB / 0.9829 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.679e-05/0.1957, allocations: 34.56 kB / 0.9829 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.256e-05/0.1957, allocations: 16.8 kB / 0.9829 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.1958, allocations: 4 kB / 0.9829 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/0.1959, allocations: 95.34 kB / 0.983 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.1959, allocations: 4 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002235/0.1961, allocations: 125.5 kB / 0.9831 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.1962, allocations: 67.34 kB / 0.9832 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.317e-05/0.1962, allocations: 121.7 kB / 0.9833 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.83e-05/0.1963, allocations: 29.7 kB / 0.9834 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.265e-05/0.1963, allocations: 92.38 kB / 0.9834 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.598e-05/0.1964, allocations: 15.8 kB / 0.9835 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.777e-05/0.1964, allocations: 8 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.449e-05/0.1964, allocations: 314.8 kB / 0.9838 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.1966, allocations: 71.89 kB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1967, allocations: 106 kB / 0.9839 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1968, allocations: 115.4 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1968, allocations: 4 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003462/0.1972, allocations: 276.7 kB / 0.9843 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.1972, allocations: 71.39 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.1972, allocations: 0 / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1973, allocations: 4 kB / 0.9844 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.627e-05/0.1973, allocations: 11.98 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1973, allocations: 7.953 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.1977, allocations: 75.94 kB / 0.9845 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.773e-05/0.1977, allocations: 19.98 kB / 0.9845 GB, free: 22.26 MB / 0.6198 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 7.932e-05/0.1978, allocations: 131.4 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.1978, allocations: 7.906 kB / 0.9846 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.236e-05/0.1979, allocations: 12.38 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1979, allocations: 3.984 kB / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1979, allocations: 0 / 0.9846 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1979, allocations: 3.953 kB / 0.9846 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.1981, allocations: 358.5 kB / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1981, allocations: 0 / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.668e-06/0.1981, allocations: 480 / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1981, allocations: 0 / 0.985 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1982, allocations: 7.984 kB / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1982, allocations: 0 / 0.985 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1982, allocations: 3.953 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.1983, allocations: 203.3 kB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.1983, allocations: 81.11 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.1983, allocations: 4 kB / 0.9853 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.05e-05/0.1984, allocations: 7.984 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.1984, allocations: 7.953 kB / 0.9853 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1985, allocations: 7.984 kB / 0.9853 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.146e-05/0.1985, allocations: 91.77 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.01e-07/0.1985, allocations: 3.938 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002442/0.1988, allocations: 39.98 kB / 0.9854 GB, free: 21.21 MB / 0.6198 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.0003181/0.1991, allocations: 0.7375 MB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.1994, allocations: 254.7 kB / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1994, allocations: 0 / 0.9864 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.759e-05/0.1994, allocations: 35.92 kB / 0.9864 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.1997, allocations: 20.3 kB / 0.9864 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009895/0.2007, allocations: 0.7504 MB / 0.9872 GB, free: 19.31 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2008, allocations: 0.6926 MB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.915e-05/0.2008, allocations: 4.672 kB / 0.9879 GB, free: 18.59 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.2009, allocations: 31.42 kB / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2009, allocations: 0 / 0.9879 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0119/0.2128, allocations: 2.69 MB / 0.9905 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001168/0.213, allocations: 209.9 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/1.76, allocations: 10.03 kB / 0.9907 GB, free: 15.79 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1)