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.0008127/0.0008125, allocations: 97.64 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.004533/0.004533, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.404/1.404, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.647/1.647, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0005384/0.0005384, allocations: 17.62 kB / 0.6744 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0008249/0.2115, allocations: 421.7 kB / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.2129, allocations: 1.22 MB / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.213, allocations: 0 / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.512e-05/0.213, allocations: 0 / 0.7896 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.981e-05/0.213, allocations: 11.88 kB / 0.7896 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005573/0.2136, allocations: 206.2 kB / 0.7898 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.2138, allocations: 151.7 kB / 0.79 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.2139, allocations: 19.91 kB / 0.79 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.412e-05/0.2139, allocations: 59.89 kB / 0.79 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.73e-05/0.214, allocations: 51.86 kB / 0.7901 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.2141, allocations: 8 kB / 0.7901 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.528e-05/0.2141, allocations: 19.98 kB / 0.7901 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.2142, allocations: 11.94 kB / 0.7901 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.201e-05/0.2143, allocations: 81.52 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001725/0.2144, allocations: 139.9 kB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2145, allocations: 7.922 kB / 0.7903 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2145, allocations: 0 / 0.7903 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.2145, allocations: 4 kB / 0.7903 GB, free: 9.086 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.0004093/0.2149, allocations: 410.7 kB / 0.7907 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2149, allocations: 12.03 kB / 0.7907 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.215, allocations: 34.75 kB / 0.7908 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.248e-05/0.215, allocations: 8.938 kB / 0.7908 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.834e-05/0.2151, allocations: 168.3 kB / 0.7909 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.2151, allocations: 16.3 kB / 0.791 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.2152, allocations: 8.375 kB / 0.791 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.2153, allocations: 54.23 kB / 0.791 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2153, allocations: 3.938 kB / 0.791 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2153, allocations: 0 / 0.791 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.2153, allocations: 0 / 0.791 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.626e-05/0.2154, allocations: 19.94 kB / 0.791 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004669/0.2158, allocations: 368.6 kB / 0.7914 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.839e-05/0.2159, allocations: 34.56 kB / 0.7914 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.58e-05/0.216, allocations: 12.86 kB / 0.7914 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-06/0.216, allocations: 0 / 0.7914 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.2161, allocations: 95.39 kB / 0.7915 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.2161, allocations: 0 / 0.7915 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9): time 0.0002473/0.2164, allocations: 129.8 kB / 0.7917 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.2164, allocations: 51.41 kB / 0.7917 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.689e-05/0.2165, allocations: 121.9 kB / 0.7918 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.2165, allocations: 37.64 kB / 0.7919 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.2166, allocations: 92.28 kB / 0.7919 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.896e-05/0.2166, allocations: 19.8 kB / 0.792 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.2167, allocations: 25.7 kB / 0.792 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/0.2168, allocations: 326.8 kB / 0.7923 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.2169, allocations: 63.97 kB / 0.7924 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.2171, allocations: 109.9 kB / 0.7925 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.2173, allocations: 181.3 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2173, allocations: 0 / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003971/0.2177, allocations: 276.8 kB / 0.7929 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.744e-05/0.2177, allocations: 75.33 kB / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.2177, allocations: 0 / 0.793 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.2178, allocations: 4 kB / 0.793 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.304e-05/0.2178, allocations: 8.156 kB / 0.793 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2178, allocations: 3.938 kB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.2182, allocations: 83.86 kB / 0.7931 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.2182, allocations: 12 kB / 0.7931 GB, free: 5.945 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.229e-05/0.2183, allocations: 133.7 kB / 0.7932 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.2184, allocations: 7.906 kB / 0.7932 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.127e-05/0.2184, allocations: 4.375 kB / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.2184, allocations: 96 / 0.7932 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2184, allocations: 4 kB / 0.7932 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.2184, allocations: 7.984 kB / 0.7932 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.2187, allocations: 366.4 kB / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2187, allocations: 0 / 0.7936 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.033e-05/0.2188, allocations: 4 kB / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.2188, allocations: 0 / 0.7936 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.2188, allocations: 4 kB / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2188, allocations: 0 / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2188, allocations: 0 / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.219, allocations: 211.3 kB / 0.7938 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.219, allocations: 85.02 kB / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.219, allocations: 0 / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.969e-05/0.2191, allocations: 0 / 0.7939 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2191, allocations: 11.98 kB / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.2192, allocations: 7.938 kB / 0.7939 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.581e-05/0.2192, allocations: 91.27 kB / 0.794 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2192, allocations: 0 / 0.794 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002612/0.2195, allocations: 28 kB / 0.794 GB, free: 4.898 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.0004921/0.22, allocations: 0.7474 MB / 0.7947 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003184/0.2203, allocations: 254.7 kB / 0.795 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2203, allocations: 320 / 0.795 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/0.2204, allocations: 39.94 kB / 0.795 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.2207, allocations: 22.31 kB / 0.795 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/0.2225, allocations: 1.861 MB / 0.7969 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.2228, allocations: 0.6887 MB / 0.7975 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.833e-05/0.2228, allocations: 8.656 kB / 0.7975 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.772e-05/0.2228, allocations: 23.44 kB / 0.7976 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2229, allocations: 3.938 kB / 0.7976 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.2345, allocations: 2.733 MB / 0.8002 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.2347, allocations: 209.2 kB / 0.8004 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/1.789, allocations: 7.875 kB / 0.8004 GB, free: 14.2 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)