Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001028/0.001028, allocations: 76.45 kB / 19.9 MB, free: 16 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.001147/0.001147, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8785/0.8785, allocations: 177.2 MB / 203.6 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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 master/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 master/package.mo): time 0.7171/0.7171, allocations: 154.9 MB / 414.9 MB, free: 0.5117 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.001058/0.001058, allocations: 67.91 kB / 0.6199 GB, free: 12.76 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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.5424/0.5434, allocations: 102 MB / 0.7194 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001452/0.5449, allocations: 0.6468 MB / 0.7201 GB, free: 23.06 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.5463, allocations: 1.228 MB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.878e-05/0.5464, allocations: 1.469 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 4.322e-05/0.5464, allocations: 4.641 kB / 0.7213 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.81e-05/0.5465, allocations: 14.42 kB / 0.7213 GB, free: 22.16 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008586/0.5474, allocations: 226.2 kB / 0.7215 GB, free: 22.05 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003396/0.5477, allocations: 188.8 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.5479, allocations: 5.156 kB / 0.7217 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.5481, allocations: 98.86 kB / 0.7218 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.5483, allocations: 58.59 kB / 0.7218 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.5483, allocations: 14.75 kB / 0.7219 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.5484, allocations: 28.8 kB / 0.7219 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.5485, allocations: 14.33 kB / 0.7219 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.5486, allocations: 57.08 kB / 0.722 GB, free: 21.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000376/0.549, allocations: 154.6 kB / 0.7221 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.549, allocations: 3.938 kB / 0.7221 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.047e-06/0.549, allocations: 5.125 kB / 0.7221 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.549, allocations: 0.9062 kB / 0.7221 GB, free: 21.8 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.0004938/0.5495, allocations: 367.3 kB / 0.7225 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.5495, allocations: 12 kB / 0.7225 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.5496, allocations: 12.17 kB / 0.7225 GB, free: 21.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.883e-05/0.5497, allocations: 112.4 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.5497, allocations: 5.531 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.5497, allocations: 17.62 kB / 0.7226 GB, free: 21.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.5498, allocations: 48.16 kB / 0.7227 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.5498, allocations: 0 / 0.7227 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.5498, allocations: 2.062 kB / 0.7227 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5498, allocations: 9.094 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.169e-05/0.5499, allocations: 15.97 kB / 0.7227 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.5503, allocations: 281.1 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.845e-05/0.5504, allocations: 30.98 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.51e-05/0.5504, allocations: 16.19 kB / 0.723 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.5504, allocations: 1.062 kB / 0.723 GB, free: 20.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000207/0.5507, allocations: 95.95 kB / 0.7231 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.843e-06/0.5507, allocations: 0 / 0.7231 GB, free: 20.92 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002812/0.5509, allocations: 128.4 kB / 0.7232 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.551, allocations: 58.33 kB / 0.7233 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.962e-05/0.5511, allocations: 123.2 kB / 0.7234 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.5511, allocations: 34.38 kB / 0.7234 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.402e-05/0.5511, allocations: 91.27 kB / 0.7235 GB, free: 20.56 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/0.5512, allocations: 23.41 kB / 0.7235 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.525e-05/0.5512, allocations: 50.97 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.37e-05/0.5513, allocations: 323.6 kB / 0.7239 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.5515, allocations: 123.2 kB / 0.724 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001643/0.5516, allocations: 168.5 kB / 0.7242 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.5518, allocations: 188.9 kB / 0.7243 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5518, allocations: 384 / 0.7243 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003935/0.5522, allocations: 340.7 kB / 0.7247 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 6.385e-05/0.5523, allocations: 68.77 kB / 0.7247 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5523, allocations: 6.766 kB / 0.7247 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.5523, allocations: 5.562 kB / 0.7248 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.5524, allocations: 13.64 kB / 0.7248 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.5524, allocations: 3.375 kB / 0.7248 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002728/0.5527, allocations: 52.56 kB / 0.7248 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.38e-05/0.5527, allocations: 12.62 kB / 0.7248 GB, free: 19.49 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 0.0001205/0.5528, allocations: 133.6 kB / 0.725 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.5528, allocations: 15.2 kB / 0.725 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.5529, allocations: 14.64 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5529, allocations: 1.594 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.5529, allocations: 1.156 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5529, allocations: 0.6562 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.5532, allocations: 308 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.5532, allocations: 1.188 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.5532, allocations: 2.094 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.5532, allocations: 1.156 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.5532, allocations: 2.25 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.5532, allocations: 1.156 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5532, allocations: 4.891 kB / 0.7253 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.5534, allocations: 202.9 kB / 0.7255 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.5534, allocations: 6.703 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.5534, allocations: 2.922 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.832e-05/0.5534, allocations: 5.25 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.91e-05/0.5535, allocations: 6.219 kB / 0.7255 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.5535, allocations: 8.594 kB / 0.7255 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.365e-05/0.5535, allocations: 91.47 kB / 0.7256 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5535, allocations: 0 / 0.7256 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002064/0.5537, allocations: 33.55 kB / 0.7256 GB, free: 18.81 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.0001366/0.5538, allocations: 109.1 kB / 0.7257 GB, free: 18.72 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002717/0.5541, allocations: 292.9 kB / 0.726 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5541, allocations: 0 / 0.726 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.389e-05/0.5542, allocations: 33.75 kB / 0.7261 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.5544, allocations: 15.91 kB / 0.7261 GB, free: 18.47 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.5547, allocations: 165.5 kB / 0.7262 GB, free: 18.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.814e-05/0.5547, allocations: 80.69 kB / 0.7263 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.612e-05/0.5548, allocations: 6.828 kB / 0.7263 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.559e-05/0.5548, allocations: 12.66 kB / 0.7263 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of SimCode: time 4.11e-07/0.5548, allocations: 1.031 kB / 0.7263 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.004476/0.5592, allocations: 2.146 MB / 0.7284 GB, free: 17.98 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.2455880279885605] Failed to read output from testmodel.py, exit status != 0: 0.5657158379908651 0.574950441 0.023980332 Calling exit ...