Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008135/0.0008135, allocations: 80.44 kB / 19.91 MB, free: 0 / 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.001057/0.001057, allocations: 169.6 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.9368/0.9368, 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 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.732/0.732, allocations: 154.7 MB / 414.7 MB, free: 0.7656 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.Stage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.0009955/0.0009955, allocations: 67.22 kB / 0.6196 GB, free: 13.09 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.5233/0.5243, allocations: 101.9 MB / 0.7191 GB, free: 23.65 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Integers.Validation.Stage): time 0.001648/0.5259, allocations: 0.884 MB / 0.72 GB, free: 23.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.527, allocations: 1.068 MB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.5271, allocations: 1.125 kB / 0.721 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.5272, allocations: 18.83 kB / 0.721 GB, free: 22.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.5274, allocations: 52.33 kB / 0.7211 GB, free: 22.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004126/0.5278, allocations: 136.9 kB / 0.7212 GB, free: 22.19 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003316/0.5281, allocations: 356 kB / 0.7216 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.5282, allocations: 19.95 kB / 0.7216 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.5286, allocations: 236.8 kB / 0.7218 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.5288, allocations: 201 kB / 0.722 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 5.793e-05/0.5289, allocations: 31.88 kB / 0.722 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 7.977e-05/0.529, allocations: 39.91 kB / 0.7221 GB, free: 21.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.5291, allocations: 110.2 kB / 0.7222 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.5292, allocations: 107.6 kB / 0.7223 GB, free: 21.72 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.5296, allocations: 406.1 kB / 0.7227 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.5296, allocations: 1.094 kB / 0.7227 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5296, allocations: 0 / 0.7227 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.5296, allocations: 0 / 0.7227 GB, free: 21.55 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.001555/0.5311, allocations: 0.7128 MB / 0.7234 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.5312, allocations: 8.438 kB / 0.7234 GB, free: 21.16 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.5314, allocations: 41.11 kB / 0.7234 GB, free: 21.14 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005719/0.532, allocations: 276.2 kB / 0.7237 GB, free: 20.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.086e-05/0.5321, allocations: 15.77 kB / 0.7237 GB, free: 20.95 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.237e-05/0.5321, allocations: 29.44 kB / 0.7237 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006842/0.5328, allocations: 340 kB / 0.724 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.5328, allocations: 1.156 kB / 0.724 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.5328, allocations: 6.688 kB / 0.724 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.5328, allocations: 3.406 kB / 0.7241 GB, free: 20.81 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004353/0.5333, allocations: 218.1 kB / 0.7243 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5343, allocations: 0.5874 MB / 0.7248 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004361/0.5347, allocations: 245.1 kB / 0.7251 GB, free: 20.27 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.5351, allocations: 173.7 kB / 0.7252 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.5352, allocations: 4.141 kB / 0.7252 GB, free: 20.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007084/0.5359, allocations: 344.4 kB / 0.7256 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 3.787e-06/0.5359, allocations: 0 / 0.7256 GB, free: 20.07 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.001441/0.5373, allocations: 0.6287 MB / 0.7262 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.5374, allocations: 91.61 kB / 0.7263 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.5375, allocations: 211.4 kB / 0.7265 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.5376, allocations: 55.55 kB / 0.7265 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.139e-05/0.5376, allocations: 130.7 kB / 0.7266 GB, free: 19.49 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.859e-05/0.5377, allocations: 82.12 kB / 0.7267 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-05/0.5378, allocations: 76.7 kB / 0.7268 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.529e-05/0.5378, allocations: 347.6 kB / 0.7271 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/0.538, allocations: 110.2 kB / 0.7272 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.5382, allocations: 174 kB / 0.7274 GB, free: 18.92 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.5385, allocations: 206.9 kB / 0.7276 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5385, allocations: 5.25 kB / 0.7276 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0004233/0.5389, allocations: 333 kB / 0.7279 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5389, allocations: 9.281 kB / 0.7279 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5389, allocations: 2.031 kB / 0.7279 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5389, allocations: 7.625 kB / 0.7279 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.5391, allocations: 48.12 kB / 0.728 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.5391, allocations: 4.625 kB / 0.728 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.5393, allocations: 77.75 kB / 0.7281 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.5393, allocations: 18.53 kB / 0.7281 GB, free: 18.61 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.0001208/0.5394, allocations: 167.4 kB / 0.7282 GB, free: 18.46 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.5395, allocations: 31.94 kB / 0.7283 GB, free: 18.45 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.5395, allocations: 34.22 kB / 0.7283 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.5395, allocations: 1.875 kB / 0.7283 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.5395, allocations: 1.094 kB / 0.7283 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.37e-05/0.5395, allocations: 23.77 kB / 0.7283 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.485e-05/0.5396, allocations: 22.38 kB / 0.7283 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.5398, allocations: 70.81 kB / 0.7284 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/0.54, allocations: 80.28 kB / 0.7285 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000793/0.5408, allocations: 0.6324 MB / 0.7291 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008385/0.5416, allocations: 0.7327 MB / 0.7298 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003499/0.542, allocations: 176.4 kB / 0.73 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.745e-05/0.542, allocations: 149.8 kB / 0.7301 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of Backend: time 3.31e-07/0.542, allocations: 0 / 0.7301 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006655/0.5427, allocations: 264.5 kB / 0.7304 GB, free: 17.4 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0007702/0.5435, allocations: 0.8139 MB / 0.7312 GB, free: 16.71 MB / 0.6355 GB Notification: Performance of Templates: time 0.009414/0.5529, allocations: 6.15 MB / 0.7372 GB, free: 16.23 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Integers.Validation.Stage.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.477237111888826] Failed to read output from testmodel.py, exit status != 0: 0.5591294749174267 0.5699126299999999 0.038073778 Calling exit ...