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.0007741/0.0007741, allocations: 80.44 kB / 19.91 MB, free: 4 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.001034/0.001034, allocations: 169.6 kB / 23.19 MB, free: 1.371 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.9122/0.9122, allocations: 177.2 MB / 203.6 MB, free: 5.785 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.7173/0.7173, 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.0009655/0.0009655, allocations: 71.88 kB / 0.6199 GB, free: 12.77 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.5067/0.5077, allocations: 102 MB / 0.7194 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001483/0.5091, allocations: 0.6615 MB / 0.7201 GB, free: 23.08 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.5103, allocations: 1.222 MB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.5103, allocations: 1.156 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.387e-05/0.5104, allocations: 3.938 kB / 0.7213 GB, free: 22.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.609e-05/0.5104, allocations: 20.45 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005376/0.511, allocations: 220.6 kB / 0.7215 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.5112, allocations: 180.5 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.5113, allocations: 6.047 kB / 0.7217 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001295/0.5114, allocations: 107.7 kB / 0.7218 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.5115, allocations: 56.94 kB / 0.7219 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.91e-05/0.5116, allocations: 19.47 kB / 0.7219 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 6.933e-05/0.5116, allocations: 28.58 kB / 0.7219 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.5117, allocations: 9.641 kB / 0.7219 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.5117, allocations: 53.95 kB / 0.722 GB, free: 21.89 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.512, allocations: 194.1 kB / 0.7221 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.512, allocations: 1.156 kB / 0.7221 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.515e-06/0.512, allocations: 0 / 0.7221 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.512, allocations: 3.938 kB / 0.7222 GB, free: 21.81 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.0004157/0.5124, allocations: 364.6 kB / 0.7225 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5125, allocations: 10.94 kB / 0.7225 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.5125, allocations: 11.67 kB / 0.7225 GB, free: 21.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.413e-05/0.5126, allocations: 120.4 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.5126, allocations: 9.703 kB / 0.7226 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.5126, allocations: 14.38 kB / 0.7227 GB, free: 21.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.5127, allocations: 50.58 kB / 0.7227 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.5127, allocations: 1.125 kB / 0.7227 GB, free: 21.28 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.5127, allocations: 9.016 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.5127, allocations: 1.156 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.942e-05/0.5128, allocations: 13.94 kB / 0.7227 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.5132, allocations: 272.1 kB / 0.723 GB, free: 21.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.007e-05/0.5132, allocations: 38.67 kB / 0.723 GB, free: 21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.5133, allocations: 15.59 kB / 0.723 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.5133, allocations: 1.062 kB / 0.723 GB, free: 20.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.5134, allocations: 95.08 kB / 0.7231 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 8.61e-07/0.5134, allocations: 1.062 kB / 0.7231 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002527/0.5137, allocations: 125.4 kB / 0.7233 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.5137, allocations: 59.05 kB / 0.7233 GB, free: 20.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.5138, allocations: 124.8 kB / 0.7234 GB, free: 20.69 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.5138, allocations: 31.19 kB / 0.7235 GB, free: 20.66 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.5138, allocations: 91.23 kB / 0.7235 GB, free: 20.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.5138, allocations: 28.69 kB / 0.7236 GB, free: 20.54 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.5139, allocations: 53.86 kB / 0.7236 GB, free: 20.52 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.5139, allocations: 320.1 kB / 0.7239 GB, free: 20.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.5141, allocations: 122 kB / 0.724 GB, free: 20.11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.5142, allocations: 176.8 kB / 0.7242 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.5144, allocations: 185.5 kB / 0.7244 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5144, allocations: 0 / 0.7244 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003303/0.5147, allocations: 349.7 kB / 0.7247 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.232e-05/0.5147, allocations: 63.61 kB / 0.7248 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5148, allocations: 6.281 kB / 0.7248 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5148, allocations: 3.344 kB / 0.7248 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.5148, allocations: 8.359 kB / 0.7248 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.5148, allocations: 6.344 kB / 0.7248 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.515, allocations: 54.31 kB / 0.7249 GB, free: 19.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.374e-05/0.515, allocations: 12.62 kB / 0.7249 GB, free: 19.5 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 6.33e-05/0.5151, allocations: 133.1 kB / 0.725 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-06/0.5151, allocations: 7.078 kB / 0.725 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.5151, allocations: 11.94 kB / 0.725 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5151, allocations: 4.453 kB / 0.725 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.5151, allocations: 0.6094 kB / 0.725 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.005e-05/0.5151, allocations: 7.141 kB / 0.725 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.5152, allocations: 5.938 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.348e-05/0.5152, allocations: 6.125 kB / 0.725 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.5152, allocations: 9.906 kB / 0.7251 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001242/0.5153, allocations: 176.7 kB / 0.7252 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001326/0.5155, allocations: 274.3 kB / 0.7255 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.326e-05/0.5155, allocations: 23.31 kB / 0.7255 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.522e-05/0.5156, allocations: 91.34 kB / 0.7256 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of Backend: time 4.71e-07/0.5156, allocations: 0 / 0.7256 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.516, allocations: 354.7 kB / 0.7259 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003858/0.5164, allocations: 0.6215 MB / 0.7265 GB, free: 17.97 MB / 0.6355 GB Notification: Performance of Templates: time 0.004083/0.5205, allocations: 2.217 MB / 0.7287 GB, free: 17.72 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.157550422009081] Failed to read output from testmodel.py, exit status != 0: 0.5257769380696118 0.533764612 0.019980373000000003 Calling exit ...