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.0007695/0.0007695, allocations: 72.45 kB / 19.91 MB, free: 12 kB / 13.93 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.000788/0.000788, allocations: 169.9 kB / 23.18 MB, free: 1.375 MB / 18.57 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 0.871/0.871, allocations: 177.2 MB / 203.6 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6904/0.6904, allocations: 154.7 MB / 414.7 MB, free: 0.7422 MB / 378.7 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 179] 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: IDEAS 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.000887/0.000887, allocations: 71.89 kB / 0.6196 GB, free: 13.12 MB / 0.5886 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4208/0.4217, allocations: 101.9 MB / 0.7191 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001285/0.423, allocations: 0.6505 MB / 0.7198 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001027/0.424, allocations: 1.232 MB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.4241, allocations: 1.062 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.672e-05/0.4241, allocations: 3.938 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.215e-05/0.4241, allocations: 16.34 kB / 0.721 GB, free: 22.34 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.4246, allocations: 220.6 kB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.4248, allocations: 184.6 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.4249, allocations: 9.484 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.425, allocations: 107.6 kB / 0.7215 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.4251, allocations: 54.31 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.659e-05/0.4252, allocations: 15.19 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.769e-05/0.4252, allocations: 28.03 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.34e-05/0.4252, allocations: 14.83 kB / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 6.131e-05/0.4253, allocations: 56.56 kB / 0.7216 GB, free: 22.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.4255, allocations: 185.7 kB / 0.7218 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.4255, allocations: 9.125 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4255, allocations: 0 / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.4255, allocations: 4 kB / 0.7218 GB, free: 21.96 MB / 0.6355 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.0003827/0.4259, allocations: 366.2 kB / 0.7222 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4259, allocations: 8.75 kB / 0.7222 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.9e-05/0.426, allocations: 12.89 kB / 0.7222 GB, free: 21.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.528e-05/0.4261, allocations: 111.6 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.4261, allocations: 14.64 kB / 0.7223 GB, free: 21.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.4261, allocations: 13.64 kB / 0.7223 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.698e-05/0.4262, allocations: 52.05 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4262, allocations: 0 / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4262, allocations: 0.8438 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.4262, allocations: 1.531 kB / 0.7224 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.789e-05/0.4262, allocations: 16.66 kB / 0.7224 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.4266, allocations: 273 kB / 0.7227 GB, free: 21.19 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.621e-05/0.4267, allocations: 39.55 kB / 0.7227 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.4267, allocations: 11 kB / 0.7227 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.4267, allocations: 5.109 kB / 0.7227 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001272/0.4268, allocations: 96.66 kB / 0.7228 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 9.41e-07/0.4268, allocations: 0 / 0.7228 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002272/0.427, allocations: 128.7 kB / 0.7229 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.4271, allocations: 58.56 kB / 0.723 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.4271, allocations: 125.4 kB / 0.7231 GB, free: 20.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.4272, allocations: 30.2 kB / 0.7231 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/0.4272, allocations: 92.17 kB / 0.7232 GB, free: 20.71 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.34e-05/0.4272, allocations: 19.98 kB / 0.7232 GB, free: 20.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.4273, allocations: 54.22 kB / 0.7233 GB, free: 20.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.243e-05/0.4273, allocations: 323.8 kB / 0.7236 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.4274, allocations: 127.7 kB / 0.7237 GB, free: 20.26 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001122/0.4275, allocations: 168.8 kB / 0.7239 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.4277, allocations: 193.4 kB / 0.7241 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4277, allocations: 0 / 0.7241 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000294/0.428, allocations: 347.7 kB / 0.7244 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.266e-05/0.428, allocations: 71.52 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.428, allocations: 2.469 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.428, allocations: 2.406 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/0.428, allocations: 5.516 kB / 0.7245 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.428, allocations: 10.31 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.4282, allocations: 48.39 kB / 0.7245 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.4283, allocations: 17.8 kB / 0.7245 GB, free: 19.64 MB / 0.6355 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 5.741e-05/0.4283, allocations: 129.4 kB / 0.7247 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-06/0.4283, allocations: 7.906 kB / 0.7247 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.4283, allocations: 11.48 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4283, allocations: 5.219 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4283, allocations: 0 / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4284, allocations: 2.75 kB / 0.7247 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.4285, allocations: 294.4 kB / 0.725 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4285, allocations: 1.938 kB / 0.725 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-06/0.4285, allocations: 5.062 kB / 0.725 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4285, allocations: 2.203 kB / 0.725 GB, free: 19.24 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4285, allocations: 5.953 kB / 0.725 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4285, allocations: 1.156 kB / 0.725 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4285, allocations: 0 / 0.725 GB, free: 19.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.4286, allocations: 207.8 kB / 0.7252 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.4287, allocations: 7.891 kB / 0.7252 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.4287, allocations: 5.312 kB / 0.7252 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.371e-05/0.4287, allocations: 2.016 kB / 0.7252 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.4287, allocations: 9.562 kB / 0.7252 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.4287, allocations: 8.75 kB / 0.7252 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.846e-05/0.4288, allocations: 97.97 kB / 0.7253 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4288, allocations: 192 / 0.7253 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001851/0.429, allocations: 33.25 kB / 0.7253 GB, free: 18.97 MB / 0.6355 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.0001011/0.4291, allocations: 110.3 kB / 0.7255 GB, free: 18.87 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002459/0.4293, allocations: 291.9 kB / 0.7257 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4293, allocations: 1.094 kB / 0.7257 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.305e-05/0.4294, allocations: 25.36 kB / 0.7258 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.4296, allocations: 16.3 kB / 0.7258 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.4298, allocations: 198.7 kB / 0.726 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.377e-05/0.4299, allocations: 80.84 kB / 0.726 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.4299, allocations: 17.84 kB / 0.7261 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.4299, allocations: 1.25 kB / 0.7261 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of Templates: time 0.002557/0.4324, allocations: 1.509 MB / 0.7275 GB, free: 18.23 MB / 0.6355 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: 5.234586655162275] Failed to read output from testmodel.py, exit status != 0: 0.43740429007448256 0.4452887 0.018160611 Calling exit ...