Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001298/0.001298, allocations: 84.36 kB / 19.94 MB, free: 1.777 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.001437/0.001437, allocations: 163.3 kB / 23.22 MB, free: 4.902 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.383/1.383, allocations: 177.1 MB / 203.5 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.8929/0.8929, allocations: 114 MB / 373.9 MB, free: 13.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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: translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.561e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.629 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00161/0.001635, allocations: 0.6577 MB / 0.5553 GB, free: 1.973 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.003298, allocations: 1.232 MB / 0.5565 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.003341, allocations: 0 / 0.5565 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.003372, allocations: 3.938 kB / 0.5565 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-05/0.003442, allocations: 11.92 kB / 0.5565 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.004151, allocations: 224.6 kB / 0.5568 GB, free: 0.5 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.004405, allocations: 179.7 kB / 0.5569 GB, free: 332 kB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.819e-05/0.004484, allocations: 8 kB / 0.5569 GB, free: 324 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.004663, allocations: 103.8 kB / 0.557 GB, free: 220 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.004795, allocations: 51.84 kB / 0.5571 GB, free: 168 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.004838, allocations: 16 kB / 0.5571 GB, free: 152 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.931e-05/0.004918, allocations: 27.98 kB / 0.5571 GB, free: 124 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 2.375e-05/0.004941, allocations: 8 kB / 0.5571 GB, free: 116 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.885e-05/0.00503, allocations: 63.81 kB / 0.5572 GB, free: 52 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002896/0.00532, allocations: 187.6 kB / 0.5574 GB, free: 15.87 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005322, allocations: 0 / 0.5574 GB, free: 15.87 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005323, allocations: 4 kB / 0.5574 GB, free: 15.86 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.005327, allocations: 0 / 0.5574 GB, free: 15.86 MB / 478.1 MB 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.0005505/0.005878, allocations: 357.5 kB / 0.5577 GB, free: 15.47 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.005912, allocations: 12.62 kB / 0.5577 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.818e-05/0.00598, allocations: 12.89 kB / 0.5577 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.006095, allocations: 117.7 kB / 0.5579 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.006118, allocations: 4.375 kB / 0.5579 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.006151, allocations: 16.36 kB / 0.5579 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.006268, allocations: 46.25 kB / 0.5579 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.006279, allocations: 3.938 kB / 0.5579 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.00629, allocations: 3.984 kB / 0.5579 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.006294, allocations: 4 kB / 0.5579 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.309e-05/0.006338, allocations: 15.94 kB / 0.5579 GB, free: 15.21 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004921/0.00683, allocations: 276.5 kB / 0.5582 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.466e-05/0.006914, allocations: 30.52 kB / 0.5582 GB, free: 14.87 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.823e-05/0.006953, allocations: 20.88 kB / 0.5583 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.006961, allocations: 4 kB / 0.5583 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001589/0.00712, allocations: 91.25 kB / 0.5583 GB, free: 14.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.007121, allocations: 0 / 0.5583 GB, free: 14.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003186/0.00744, allocations: 133.5 kB / 0.5585 GB, free: 14.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.007492, allocations: 55.41 kB / 0.5585 GB, free: 14.54 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.007597, allocations: 124.5 kB / 0.5586 GB, free: 14.41 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.052e-05/0.007657, allocations: 33.7 kB / 0.5587 GB, free: 14.37 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.007733, allocations: 96.31 kB / 0.5588 GB, free: 14.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.007757, allocations: 19.89 kB / 0.5588 GB, free: 14.25 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.007859, allocations: 49.69 kB / 0.5588 GB, free: 14.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.008009, allocations: 322.8 kB / 0.5591 GB, free: 13.87 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.008195, allocations: 123.4 kB / 0.5593 GB, free: 13.74 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.008414, allocations: 169.3 kB / 0.5594 GB, free: 13.54 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002484/0.008663, allocations: 189.3 kB / 0.5596 GB, free: 13.32 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.008667, allocations: 3.938 kB / 0.5596 GB, free: 13.32 MB / 478.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005485/0.009215, allocations: 348.2 kB / 0.5599 GB, free: 12.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/0.009274, allocations: 71.33 kB / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.009278, allocations: 0 / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.009298, allocations: 4.094 kB / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.587e-05/0.009344, allocations: 8.156 kB / 0.56 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.009351, allocations: 4 kB / 0.56 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003492/0.0097, allocations: 59.86 kB / 0.5601 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.431e-05/0.009734, allocations: 11.98 kB / 0.5601 GB, free: 12.78 MB / 478.1 MB 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.0001272/0.009861, allocations: 134.8 kB / 0.5602 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.667e-05/0.009878, allocations: 7.953 kB / 0.5602 GB, free: 12.63 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.53e-05/0.009903, allocations: 16.42 kB / 0.5602 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.009905, allocations: 0 / 0.5602 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.009909, allocations: 384 / 0.5602 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.009912, allocations: 0 / 0.5602 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/0.01025, allocations: 310 kB / 0.5605 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01025, allocations: 0 / 0.5605 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.308e-06/0.01026, allocations: 0 / 0.5605 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.01026, allocations: 4 kB / 0.5605 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.01027, allocations: 0 / 0.5605 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01027, allocations: 0 / 0.5605 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.01027, allocations: 0 / 0.5605 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.01049, allocations: 211.3 kB / 0.5607 GB, free: 12.05 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.01051, allocations: 7.953 kB / 0.5608 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.01052, allocations: 4 kB / 0.5608 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.402e-05/0.01058, allocations: 0 / 0.5608 GB, free: 12.04 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.01062, allocations: 11.98 kB / 0.5608 GB, free: 12.02 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.01063, allocations: 4 kB / 0.5608 GB, free: 12.02 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.935e-05/0.01069, allocations: 91.27 kB / 0.5609 GB, free: 11.93 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01069, allocations: 3.938 kB / 0.5609 GB, free: 11.93 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.01098, allocations: 32 kB / 0.5609 GB, free: 11.89 MB / 478.1 MB 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.0001526/0.01113, allocations: 110.3 kB / 0.561 GB, free: 11.78 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004183/0.01155, allocations: 290.1 kB / 0.5613 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01155, allocations: 0 / 0.5613 GB, free: 11.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.864e-05/0.01161, allocations: 35.86 kB / 0.5613 GB, free: 11.42 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.0119, allocations: 21.86 kB / 0.5613 GB, free: 11.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003488/0.01225, allocations: 161 kB / 0.5615 GB, free: 11.22 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.044e-05/0.01232, allocations: 79.58 kB / 0.5616 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 2.645e-05/0.01235, allocations: 8.734 kB / 0.5616 GB, free: 11.12 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.01238, allocations: 20.48 kB / 0.5616 GB, free: 11.1 MB / 478.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01238, allocations: 0 / 0.5616 GB, free: 11.1 MB / 478.1 MB Notification: Performance of Templates: time 0.005122/0.0175, allocations: 2.103 MB / 0.5636 GB, free: 9.059 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.023490309715271] Failed to read output from testmodel.py, exit status != 0: 0.025743726640939713 0.039950894 0.031673658 Calling exit ...