Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 223 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.778/2.778, allocations: 476.8 MB / 0.7715 GB, free: 3.926 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 65.19 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3339, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002438/0.3363, allocations: 0.6709 MB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3383, allocations: 1.208 MB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.801e-05/0.3383, allocations: 0 / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.3384, allocations: 3.938 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.521e-05/0.3385, allocations: 11.92 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007993/0.3393, allocations: 224.9 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00027/0.3395, allocations: 183.6 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.3396, allocations: 15.5 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.3398, allocations: 71.89 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3399, allocations: 71.77 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.515e-05/0.34, allocations: 16 kB / 1.287 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.34, allocations: 24 kB / 1.287 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.3401, allocations: 19.92 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.164e-05/0.3402, allocations: 51.89 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.3404, allocations: 164.9 kB / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3404, allocations: 0 / 1.287 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.905e-06/0.3404, allocations: 4 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3404, allocations: 0 / 1.287 GB, free: 7.988 MB / 0.9825 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.000573/0.341, allocations: 365.5 kB / 1.287 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.341, allocations: 12.03 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.774e-05/0.3411, allocations: 192 / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.906e-05/0.3411, allocations: 34.75 kB / 1.287 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.153e-05/0.3412, allocations: 12.94 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.3413, allocations: 118.5 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/0.3413, allocations: 8.375 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.3414, allocations: 15.94 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3415, allocations: 49.61 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.577e-06/0.3415, allocations: 4 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3415, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.3415, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.417e-05/0.3416, allocations: 15.98 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005675/0.3421, allocations: 299.8 kB / 1.288 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.3422, allocations: 34.56 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.234e-05/0.3423, allocations: 16.8 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.227e-06/0.3423, allocations: 0 / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.3425, allocations: 95.44 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3425, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003077/0.3428, allocations: 121.8 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.3429, allocations: 59.41 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.343, allocations: 125.9 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.343, allocations: 33.64 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.3431, allocations: 92.33 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/0.3431, allocations: 27.88 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.3432, allocations: 53.69 kB / 1.288 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.3434, allocations: 326.8 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.3435, allocations: 123.3 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.3438, allocations: 165.4 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.344, allocations: 181.3 kB / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.344, allocations: 0 / 1.289 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005287/0.3445, allocations: 356.2 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.3446, allocations: 70.05 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.3446, allocations: 3.984 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3446, allocations: 4 kB / 1.289 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-05/0.3447, allocations: 4 kB / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.3447, allocations: 0 / 1.289 GB, free: 4.895 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.345, allocations: 67.92 kB / 1.29 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.3451, allocations: 15.98 kB / 1.29 GB, free: 4.812 MB / 0.9825 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 0.0001143/0.3452, allocations: 128.6 kB / 1.29 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.3452, allocations: 3.953 kB / 1.29 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.708e-05/0.3452, allocations: 12.38 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3452, allocations: 0 / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3452, allocations: 3.984 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.3452, allocations: 3.938 kB / 1.29 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.3456, allocations: 325.6 kB / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3456, allocations: 0 / 1.29 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.204e-05/0.3456, allocations: 4 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3456, allocations: 0 / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.386e-06/0.3456, allocations: 0 / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.3456, allocations: 7.938 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.3456, allocations: 3.984 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.3458, allocations: 199.5 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.21e-05/0.3458, allocations: 11.98 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.3458, allocations: 3.984 kB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.974e-05/0.3459, allocations: 11.94 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.3459, allocations: 11.92 kB / 1.29 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.3459, allocations: 4 kB / 1.29 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.875e-05/0.346, allocations: 91.81 kB / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.346, allocations: 0 / 1.29 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002947/0.3463, allocations: 39.98 kB / 1.29 GB, free: 3.891 MB / 0.9825 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.0005402/0.3468, allocations: 0.7386 MB / 1.291 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004033/0.3472, allocations: 290.1 kB / 1.291 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3472, allocations: 320 / 1.291 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.455e-05/0.3473, allocations: 27.94 kB / 1.291 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.3476, allocations: 21.64 kB / 1.291 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.35, allocations: 2.108 MB / 1.293 GB, free: 484 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.81e-05/0.3501, allocations: 79.2 kB / 1.294 GB, free: 384 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.274e-05/0.3502, allocations: 12.67 kB / 1.294 GB, free: 372 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.3502, allocations: 23.42 kB / 1.294 GB, free: 348 kB / 0.9825 GB Notification: Performance of SimCode: time 5.52e-07/0.3502, allocations: 0 / 1.294 GB, free: 348 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02434/0.3745, allocations: 3.37 MB / 1.297 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.77, allocations: 11.47 kB / 1.297 GB, free: 13.16 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.384848455898464] Failed to read output from testmodel.py, exit status != 0: 12.455033307080157 11.951385453 11.606863751 Calling exit ...