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.00137/0.00137, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001881/0.001881, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.593/1.593, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.926/2.926, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] 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.002443/0.002443, allocations: 64.09 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9656/0.9681, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002178/0.9702, allocations: 0.6852 MB / 1.28 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001883/0.9721, allocations: 1.241 MB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.9722, allocations: 4 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.821e-05/0.9722, allocations: 5.516 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.074e-05/0.9723, allocations: 7.516 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007895/0.9731, allocations: 222.7 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002855/0.9734, allocations: 178.5 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.367e-05/0.9735, allocations: 5.062 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.9736, allocations: 76.41 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.9737, allocations: 59.61 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.9738, allocations: 15.56 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.9739, allocations: 33.78 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.9739, allocations: 13.73 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.974, allocations: 58.73 kB / 1.281 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.9743, allocations: 160.9 kB / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9743, allocations: 0.5312 kB / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.9743, allocations: 0 / 1.282 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.9743, allocations: 0.625 kB / 1.282 GB, free: 10.05 MB / 0.9981 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.0006361/0.975, allocations: 442 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.975, allocations: 9.719 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.259e-05/0.975, allocations: 0.875 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.538e-05/0.9751, allocations: 33.58 kB / 1.282 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.424e-05/0.9751, allocations: 12.66 kB / 1.282 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.9753, allocations: 180.6 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.534e-05/0.9753, allocations: 6.172 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.767e-05/0.9754, allocations: 13.38 kB / 1.282 GB, free: 9.355 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.9755, allocations: 51.41 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.9755, allocations: 4 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.9755, allocations: 5.094 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.9755, allocations: 1.656 kB / 1.282 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.9756, allocations: 12.81 kB / 1.282 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.9762, allocations: 358.5 kB / 1.283 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.683e-05/0.9763, allocations: 35.55 kB / 1.283 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.253e-05/0.9763, allocations: 14.47 kB / 1.283 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.9763, allocations: 9.797 kB / 1.283 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/0.9766, allocations: 93.33 kB / 1.283 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/0.9766, allocations: 0 / 1.283 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0003056/0.9769, allocations: 123.3 kB / 1.283 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.9769, allocations: 55.5 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.977, allocations: 121.6 kB / 1.283 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.9771, allocations: 29.73 kB / 1.283 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.017e-05/0.9772, allocations: 99.98 kB / 1.283 GB, free: 8.523 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.9772, allocations: 24.36 kB / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.9773, allocations: 49.62 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.9775, allocations: 328 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.9776, allocations: 61.25 kB / 1.284 GB, free: 8.137 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002065/0.9778, allocations: 114.8 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.9781, allocations: 179.6 kB / 1.284 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.9781, allocations: 1.406 kB / 1.284 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005164/0.9786, allocations: 292.7 kB / 1.284 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.669e-05/0.9787, allocations: 71.62 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.9787, allocations: 1.5 kB / 1.284 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.9787, allocations: 5.938 kB / 1.284 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.9788, allocations: 5.797 kB / 1.284 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.9788, allocations: 6.672 kB / 1.284 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003756/0.9792, allocations: 61.53 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-05/0.9792, allocations: 16.56 kB / 1.284 GB, free: 7.637 MB / 0.9981 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.0001372/0.9793, allocations: 129.6 kB / 1.285 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.9794, allocations: 8.484 kB / 1.285 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.452e-05/0.9794, allocations: 10.25 kB / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.9794, allocations: 1.688 kB / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.9794, allocations: 0 / 1.285 GB, free: 7.496 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.9794, allocations: 8.922 kB / 1.285 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.9799, allocations: 355.4 kB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.9799, allocations: 0.6562 kB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-05/0.9799, allocations: 1.906 kB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9799, allocations: 1.375 kB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.9799, allocations: 2.031 kB / 1.285 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.9799, allocations: 4.625 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.9799, allocations: 1.312 kB / 1.285 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.9801, allocations: 201.8 kB / 1.285 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.798e-05/0.9802, allocations: 83.17 kB / 1.285 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.9802, allocations: 6.516 kB / 1.285 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.615e-05/0.9803, allocations: 6.359 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.9803, allocations: 5.406 kB / 1.285 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.9803, allocations: 12.77 kB / 1.285 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.31e-05/0.9804, allocations: 95.02 kB / 1.285 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9804, allocations: 0 / 1.285 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002953/0.9807, allocations: 29.52 kB / 1.285 GB, free: 6.801 MB / 0.9981 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.0006536/0.9813, allocations: 0.7433 MB / 1.286 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.9819, allocations: 224.4 kB / 1.286 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.9819, allocations: 4.312 kB / 1.286 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/0.9819, allocations: 33.14 kB / 1.286 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.9823, allocations: 27.42 kB / 1.286 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.9846, allocations: 1.875 MB / 1.288 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.9849, allocations: 0.6898 MB / 1.289 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.946e-05/0.985, allocations: 10.2 kB / 1.289 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.985, allocations: 26.58 kB / 1.289 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of SimCode: time 5.91e-07/0.985, allocations: 0 / 1.289 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/1.007, allocations: 3.061 MB / 1.292 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.447/9.454, allocations: 15.81 kB / 1.292 GB, free: 3.121 MB / 0.9981 GB " [Timeout remaining time 290] (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: 15.905769723991398] Failed to read output from testmodel.py, exit status != 0: 9.582807291008066 9.611223712 8.631804915 Calling exit ...