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.501/1.501, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001415/0.001415, allocations: 171 kB / 327 MB, free: 2.082 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 0.578 GB, free: 20.14 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.0007274/0.0007275, allocations: 93.61 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003251/0.0003252, allocations: 12.64 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2237, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001772/0.2256, allocations: 1.116 MB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00049/0.2261, allocations: 212.2 kB / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.2261, allocations: 0 / 0.9022 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.2262, allocations: 7.922 kB / 0.9022 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.437e-05/0.2263, allocations: 15.92 kB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.2265, allocations: 15.98 kB / 0.9023 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.2266, allocations: 63.78 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.2267, allocations: 4 kB / 0.9023 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.2268, allocations: 31.84 kB / 0.9024 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.261e-05/0.2269, allocations: 19.92 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.2269, allocations: 4 kB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.2269, allocations: 0 / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.568e-05/0.2269, allocations: 15.92 kB / 0.9024 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.248e-05/0.227, allocations: 45.62 kB / 0.9024 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.2272, allocations: 51.77 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.2272, allocations: 4 kB / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.206e-06/0.2272, allocations: 0 / 0.9025 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.2272, allocations: 0 / 0.9025 GB, free: 61.75 MB / 0.6042 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.0007008/0.2279, allocations: 371.7 kB / 0.9028 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.228, allocations: 8.031 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.01e-05/0.228, allocations: 30.75 kB / 0.9029 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.2281, allocations: 12.83 kB / 0.9029 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2282, allocations: 176.3 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.2282, allocations: 8.312 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.2283, allocations: 4.375 kB / 0.9031 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.2284, allocations: 54.23 kB / 0.9031 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2284, allocations: 7.938 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2285, allocations: 0 / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2285, allocations: 4 kB / 0.9031 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.343e-05/0.2286, allocations: 23.98 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.2291, allocations: 292.7 kB / 0.9034 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.2292, allocations: 46.55 kB / 0.9035 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.202e-05/0.2292, allocations: 24.97 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.2293, allocations: 4 kB / 0.9035 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.2295, allocations: 79.31 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.2295, allocations: 0 / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002585/0.2297, allocations: 113.5 kB / 0.9037 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.2298, allocations: 51.41 kB / 0.9037 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.2299, allocations: 117.8 kB / 0.9039 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.2299, allocations: 33.64 kB / 0.9039 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.2299, allocations: 91.98 kB / 0.904 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.003e-05/0.23, allocations: 20.41 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.23, allocations: 8 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.2301, allocations: 318.8 kB / 0.9043 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.686e-05/0.2301, allocations: 24 kB / 0.9043 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.101e-05/0.2302, allocations: 48.28 kB / 0.9044 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.95e-05/0.2302, allocations: 68.22 kB / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2303, allocations: 0 / 0.9044 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001223/0.2304, allocations: 97.55 kB / 0.9045 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.2304, allocations: 11.94 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.2304, allocations: 0 / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.2304, allocations: 4 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.2305, allocations: 11.94 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2305, allocations: 4 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.2306, allocations: 15.89 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.2306, allocations: 8.094 kB / 0.9046 GB, free: 59.34 MB / 0.6042 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,reset.y,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.562e-05/0.2307, allocations: 127.8 kB / 0.9047 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.2308, allocations: 7.891 kB / 0.9047 GB, free: 59.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.227e-05/0.2308, allocations: 12.38 kB / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2308, allocations: 0 / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2308, allocations: 0 / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.2308, allocations: 0 / 0.9047 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.2312, allocations: 394.4 kB / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2313, allocations: 0 / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.347e-06/0.2313, allocations: 0 / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2313, allocations: 0 / 0.9051 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2313, allocations: 7.984 kB / 0.9051 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2313, allocations: 0 / 0.9051 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.2313, allocations: 3.938 kB / 0.9051 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2315, allocations: 195.3 kB / 0.9053 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.2315, allocations: 81.02 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.2315, allocations: 8.094 kB / 0.9054 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.2316, allocations: 11.98 kB / 0.9054 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.2317, allocations: 15.91 kB / 0.9054 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2317, allocations: 12 kB / 0.9054 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.894e-05/0.2318, allocations: 95.39 kB / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2318, allocations: 0 / 0.9055 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002148/0.232, allocations: 19.94 kB / 0.9055 GB, free: 58.27 MB / 0.6042 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,reset.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * 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.0003608/0.2324, allocations: 0.7202 MB / 0.9062 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001293/0.2325, allocations: 59.86 kB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2325, allocations: 0 / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.469e-05/0.2326, allocations: 27.98 kB / 0.9063 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.2329, allocations: 19.92 kB / 0.9063 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.234, allocations: 1.444 MB / 0.9078 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.2341, allocations: 0.6926 MB / 0.9084 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.2342, allocations: 9.219 kB / 0.9084 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.2342, allocations: 23.44 kB / 0.9085 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2342, allocations: 0 / 0.9085 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01307/0.2473, allocations: 1.797 MB / 0.9102 GB, free: 53.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/0.2476, allocations: 217.2 kB / 0.9104 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/1.984, allocations: 0 / 0.9104 GB, free: 53.22 MB / 0.6042 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)