Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001563/0.001563, allocations: 79.2 kB / 19.18 MB, free: 2.516 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.001543/0.001543, allocations: 163.3 kB / 22.46 MB, free: 5.375 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.495/1.495, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.239/1.239, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.946e-06/2.946e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.905e-05/4.2e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00263/0.002672, allocations: 0.6552 MB / 0.6192 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.005133, allocations: 1.232 MB / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.699e-05/0.00523, allocations: 0 / 0.6204 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.901e-05/0.005269, allocations: 3.938 kB / 0.6204 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.005385, allocations: 11.88 kB / 0.6204 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008509/0.006236, allocations: 232.8 kB / 0.6207 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.006577, allocations: 183.6 kB / 0.6208 GB, free: 2.238 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.006681, allocations: 3.938 kB / 0.6208 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.006891, allocations: 103.9 kB / 0.6209 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.007054, allocations: 51.84 kB / 0.621 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.007101, allocations: 16 kB / 0.621 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 9.445e-05/0.007196, allocations: 31.98 kB / 0.621 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.007224, allocations: 8 kB / 0.621 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.72e-05/0.007322, allocations: 55.88 kB / 0.6211 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.007626, allocations: 191.5 kB / 0.6213 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.007633, allocations: 4 kB / 0.6213 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.263e-06/0.007635, allocations: 0 / 0.6213 GB, free: 1.781 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.007639, allocations: 0 / 0.6213 GB, free: 1.781 MB / 0.5294 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.0006229/0.008262, allocations: 365.5 kB / 0.6216 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.00831, allocations: 9.469 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.661e-05/0.008386, allocations: 12.89 kB / 0.6217 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.008513, allocations: 109.8 kB / 0.6218 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.008543, allocations: 12.31 kB / 0.6218 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.008582, allocations: 16.38 kB / 0.6218 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.00874, allocations: 54.22 kB / 0.6218 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.008754, allocations: 3.938 kB / 0.6218 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.008767, allocations: 0 / 0.6218 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.008777, allocations: 7.984 kB / 0.6218 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.221e-05/0.00882, allocations: 8 kB / 0.6219 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005846/0.009404, allocations: 272.5 kB / 0.6221 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.009528, allocations: 38.44 kB / 0.6222 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.009562, allocations: 20.94 kB / 0.6222 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/0.009572, allocations: 4 kB / 0.6222 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002506/0.009823, allocations: 91.31 kB / 0.6223 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.009824, allocations: 0 / 0.6223 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of matching and sorting (n=9): time 0.0003649/0.01019, allocations: 129.5 kB / 0.6224 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/0.01026, allocations: 63.33 kB / 0.6224 GB, free: 456 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.01039, allocations: 113.8 kB / 0.6226 GB, free: 332 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.01044, allocations: 33.7 kB / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.01054, allocations: 100.3 kB / 0.6227 GB, free: 184 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.163e-05/0.01056, allocations: 19.8 kB / 0.6227 GB, free: 164 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.01067, allocations: 49.69 kB / 0.6228 GB, free: 108 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.01085, allocations: 326.8 kB / 0.6231 GB, free: 15.78 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.01105, allocations: 123.4 kB / 0.6232 GB, free: 15.64 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.0113, allocations: 165.4 kB / 0.6233 GB, free: 15.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/0.01156, allocations: 185.3 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.01157, allocations: 3.938 kB / 0.6235 GB, free: 15.23 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000545/0.01211, allocations: 348.3 kB / 0.6239 GB, free: 14.86 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.16e-05/0.01219, allocations: 67.39 kB / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.0122, allocations: 4 kB / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.01222, allocations: 0 / 0.6239 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-05/0.01228, allocations: 8 kB / 0.6239 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.01229, allocations: 7.938 kB / 0.6239 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.01263, allocations: 55.88 kB / 0.624 GB, free: 14.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.375e-05/0.01267, allocations: 16.11 kB / 0.624 GB, free: 14.69 MB / 0.545 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.0001422/0.01281, allocations: 128.6 kB / 0.6241 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.61e-05/0.01283, allocations: 7.953 kB / 0.6241 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.01286, allocations: 12.42 kB / 0.6241 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.01286, allocations: 0 / 0.6241 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.01287, allocations: 4 kB / 0.6241 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.01287, allocations: 0 / 0.6241 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.01323, allocations: 302.1 kB / 0.6244 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.01323, allocations: 0 / 0.6244 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.542e-05/0.01324, allocations: 11.94 kB / 0.6244 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.01325, allocations: 0 / 0.6244 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.01325, allocations: 0 / 0.6244 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01326, allocations: 0 / 0.6244 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01326, allocations: 4.469 kB / 0.6245 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.0135, allocations: 207.3 kB / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.01352, allocations: 7.953 kB / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.01354, allocations: 0 / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.01359, allocations: 0 / 0.6247 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.01363, allocations: 15.92 kB / 0.6247 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.01365, allocations: 4 kB / 0.6247 GB, free: 13.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.768e-05/0.01373, allocations: 99.09 kB / 0.6248 GB, free: 13.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01373, allocations: 0 / 0.6248 GB, free: 13.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002964/0.01402, allocations: 32 kB / 0.6248 GB, free: 13.81 MB / 0.545 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.0002142/0.01424, allocations: 107.2 kB / 0.6249 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004609/0.0147, allocations: 290 kB / 0.6252 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.0147, allocations: 4 kB / 0.6252 GB, free: 13.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.073e-05/0.01476, allocations: 23.98 kB / 0.6252 GB, free: 13.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.01509, allocations: 24.23 kB / 0.6252 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004348/0.01553, allocations: 165.2 kB / 0.6254 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.585e-05/0.01561, allocations: 79.27 kB / 0.6255 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.743e-05/0.01564, allocations: 5.016 kB / 0.6255 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.01567, allocations: 12.5 kB / 0.6255 GB, free: 13.03 MB / 0.545 GB Notification: Performance of SimCode: time 5.21e-07/0.01567, allocations: 0 / 0.6255 GB, free: 13.03 MB / 0.545 GB Notification: Performance of Templates: time 0.005954/0.02162, allocations: 2.117 MB / 0.6275 GB, free: 10.98 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.043304104357958] Failed to read output from testmodel.py, exit status != 0: 0.03128997981548309 0.046881933 0.03600934 Calling exit ...