Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.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.0009272/0.0009272, 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.0008903/0.0008903, allocations: 169.2 kB / 23.19 MB, free: 1.367 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.8812/0.8812, allocations: 177.2 MB / 203.6 MB, free: 5.723 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.7053/0.7053, allocations: 154.9 MB / 414.9 MB, free: 0.5 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.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage") translateModel(IDEAS.Controls.OBC.CDL.Integers.Validation.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage") [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.0008918/0.0008918, allocations: 67.89 kB / 0.6199 GB, free: 12.65 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.5075/0.5083, allocations: 102 MB / 0.7195 GB, free: 23.57 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001765/0.5101, allocations: 0.8721 MB / 0.7203 GB, free: 23.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.5113, allocations: 1.069 MB / 0.7213 GB, free: 22.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.955e-05/0.5114, allocations: 4.875 kB / 0.7214 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.5115, allocations: 14.92 kB / 0.7214 GB, free: 22.22 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.5116, allocations: 47.97 kB / 0.7214 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.512, allocations: 141.9 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002975/0.5123, allocations: 349.3 kB / 0.7219 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.5125, allocations: 19.8 kB / 0.7219 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.5128, allocations: 239.9 kB / 0.7221 GB, free: 21.85 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.513, allocations: 202.2 kB / 0.7223 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.5131, allocations: 32.88 kB / 0.7224 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.532e-05/0.5132, allocations: 34.62 kB / 0.7224 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.5133, allocations: 104.6 kB / 0.7225 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.5134, allocations: 120.2 kB / 0.7226 GB, free: 21.65 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.5137, allocations: 399 kB / 0.723 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5137, allocations: 0 / 0.723 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5137, allocations: 0 / 0.723 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.5137, allocations: 0 / 0.723 GB, free: 21.48 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001285/0.515, allocations: 0.7092 MB / 0.7237 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.5151, allocations: 10.91 kB / 0.7237 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.5152, allocations: 39.83 kB / 0.7237 GB, free: 21.08 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.5157, allocations: 284.9 kB / 0.724 GB, free: 20.89 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.223e-05/0.5157, allocations: 19.3 kB / 0.724 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.5158, allocations: 30.02 kB / 0.724 GB, free: 20.87 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.5163, allocations: 339.5 kB / 0.7244 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5163, allocations: 1.156 kB / 0.7244 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.5163, allocations: 3.125 kB / 0.7244 GB, free: 20.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5163, allocations: 7.375 kB / 0.7244 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.5167, allocations: 211.3 kB / 0.7246 GB, free: 20.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009237/0.5177, allocations: 0.5914 MB / 0.7252 GB, free: 20.3 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.5181, allocations: 252.6 kB / 0.7254 GB, free: 20.19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002918/0.5184, allocations: 166.8 kB / 0.7256 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.5184, allocations: 11.17 kB / 0.7256 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004994/0.5189, allocations: 336.4 kB / 0.7259 GB, free: 20 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 1.413e-06/0.5189, allocations: 0 / 0.7259 GB, free: 20 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.001105/0.52, allocations: 0.6376 MB / 0.7265 GB, free: 19.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.52, allocations: 96.02 kB / 0.7266 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.5202, allocations: 206.5 kB / 0.7268 GB, free: 19.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.5202, allocations: 55.17 kB / 0.7268 GB, free: 19.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.143e-05/0.5202, allocations: 126.4 kB / 0.727 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.327e-05/0.5203, allocations: 78.27 kB / 0.727 GB, free: 19.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.5204, allocations: 81.25 kB / 0.7271 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.453e-05/0.5204, allocations: 343.2 kB / 0.7274 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.5206, allocations: 114.7 kB / 0.7276 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.5208, allocations: 174.2 kB / 0.7277 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002299/0.521, allocations: 203.7 kB / 0.7279 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.521, allocations: 0 / 0.7279 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0003849/0.5214, allocations: 340.7 kB / 0.7282 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5214, allocations: 5.281 kB / 0.7282 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.5214, allocations: 1.906 kB / 0.7283 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.5214, allocations: 3.375 kB / 0.7283 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.5216, allocations: 44.94 kB / 0.7283 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5216, allocations: 3.375 kB / 0.7283 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.5218, allocations: 85.67 kB / 0.7284 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.5218, allocations: 19.55 kB / 0.7284 GB, free: 18.54 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 52 (zerHolTim.y,$PRE.zerHolTim.y,sta.y,$PRE.sta.y,zerHolTim.checkLower,$PRE.zerHolTim.checkLower,zerHolTim.checkUpper,$PRE.zerHolTim.checkUpper,zerHolTim.lowerThreshold,$PRE.zerHolTim.lowerThreshold,zerHolTim.upperThreshold,$PRE.zerHolTim.upperThreshold,zerHolTim.tNext,$PRE.zerHolTim.tNext,sta.checkLower,$PRE.sta.checkLower,sta.checkUpper,$PRE.sta.checkUpper,sta.lowerThreshold,$PRE.sta.lowerThreshold,sta.upperThreshold,$PRE.sta.upperThreshold,sta.tNext,$PRE.sta.tNext,$whenCondition3,$whenCondition4,lesHolTim.y,$PRE.lesHolTim.y,sta1.y,$PRE.sta1.y,lesHolTim.checkLower,$PRE.lesHolTim.checkLower,lesHolTim.checkUpper,$PRE.lesHolTim.checkUpper,lesHolTim.lowerThreshold,$PRE.lesHolTim.lowerThreshold,lesHolTim.upperThreshold,$PRE.lesHolTim.upperThreshold,lesHolTim.tNext,$PRE.lesHolTim.tNext,sta1.checkLower,$PRE.sta1.checkLower,sta1.checkUpper,$PRE.sta1.checkUpper,sta1.lowerThreshold,$PRE.sta1.lowerThreshold,sta1.upperThreshold,$PRE.sta1.upperThreshold,sta1.tNext,$PRE.sta1.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * 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.0001129/0.5219, allocations: 171.2 kB / 0.7286 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.5219, allocations: 27.73 kB / 0.7286 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.522, allocations: 30.47 kB / 0.7286 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.522, allocations: 1.453 kB / 0.7286 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.522, allocations: 1.281 kB / 0.7286 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.522, allocations: 27.73 kB / 0.7286 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.5221, allocations: 25.69 kB / 0.7287 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.5223, allocations: 66.39 kB / 0.7287 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.5224, allocations: 80.86 kB / 0.7288 GB, free: 18.3 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007491/0.5232, allocations: 0.6339 MB / 0.7294 GB, free: 18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007564/0.5239, allocations: 0.732 MB / 0.7301 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003317/0.5243, allocations: 187.3 kB / 0.7303 GB, free: 17.55 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.264e-05/0.5243, allocations: 142.6 kB / 0.7305 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of Backend: time 4e-07/0.5243, allocations: 0 / 0.7305 GB, free: 17.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005781/0.5249, allocations: 255.3 kB / 0.7307 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006417/0.5256, allocations: 0.8263 MB / 0.7315 GB, free: 16.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.009368/0.5349, allocations: 6.154 MB / 0.7375 GB, free: 16.14 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.187153951032087] Failed to read output from testmodel.py, exit status != 0: 0.5405121119692922 0.550402932 0.034598003 Calling exit ...