Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.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.000903/0.000903, 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.0008033/0.0008033, 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.8952/0.8952, 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 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.7424/0.7424, allocations: 154.7 MB / 414.7 MB, free: 0.7617 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [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.0009033/0.0009033, allocations: 69.41 kB / 0.6196 GB, free: 13.08 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.5337/0.5346, allocations: 101.9 MB / 0.7192 GB, free: 23.64 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001566/0.5362, allocations: 0.7601 MB / 0.7199 GB, free: 23.17 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001028/0.5372, allocations: 1.168 MB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.796e-05/0.5373, allocations: 1.094 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 2.635e-05/0.5373, allocations: 4.828 kB / 0.7211 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.5374, allocations: 20 kB / 0.7211 GB, free: 22.31 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.5377, allocations: 131.9 kB / 0.7212 GB, free: 22.25 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000162/0.5379, allocations: 135.5 kB / 0.7213 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 9.318e-05/0.538, allocations: 18.66 kB / 0.7214 GB, free: 22.17 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.5381, allocations: 75.41 kB / 0.7214 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.384e-05/0.5382, allocations: 48.3 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.5382, allocations: 10.44 kB / 0.7215 GB, free: 22.12 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.845e-05/0.5383, allocations: 24.22 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.321e-05/0.5383, allocations: 9.281 kB / 0.7215 GB, free: 22.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.5384, allocations: 42.95 kB / 0.7216 GB, free: 22.09 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001918/0.5386, allocations: 145.7 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.5386, allocations: 0.75 kB / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5386, allocations: 0 / 0.7217 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.5386, allocations: 1.219 kB / 0.7217 GB, free: 22.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004394/0.539, allocations: 354.9 kB / 0.722 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.539, allocations: 9.781 kB / 0.722 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.5391, allocations: 10.52 kB / 0.7221 GB, free: 21.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.868e-05/0.5391, allocations: 120.1 kB / 0.7222 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.5392, allocations: 8.578 kB / 0.7222 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.5392, allocations: 5.875 kB / 0.7222 GB, free: 21.55 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.5393, allocations: 83.23 kB / 0.7223 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.5394, allocations: 192 / 0.7223 GB, free: 21.51 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5394, allocations: 10.12 kB / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.5394, allocations: 0 / 0.7223 GB, free: 21.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.5395, allocations: 74.62 kB / 0.7223 GB, free: 21.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.5398, allocations: 246.1 kB / 0.7226 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.54, allocations: 65.88 kB / 0.7226 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.923e-05/0.54, allocations: 44.3 kB / 0.7227 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.5401, allocations: 1.094 kB / 0.7227 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.5402, allocations: 92.31 kB / 0.7228 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.5402, allocations: 0 / 0.7228 GB, free: 21.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003782/0.5406, allocations: 172.3 kB / 0.7229 GB, free: 21.09 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.768e-05/0.5406, allocations: 56.5 kB / 0.723 GB, free: 21.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.196e-05/0.5407, allocations: 121.3 kB / 0.7231 GB, free: 20.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.5407, allocations: 28.11 kB / 0.7231 GB, free: 20.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.253e-05/0.5407, allocations: 98.62 kB / 0.7232 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.5407, allocations: 15.64 kB / 0.7232 GB, free: 20.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.693e-05/0.5408, allocations: 35.28 kB / 0.7233 GB, free: 20.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.559e-05/0.5408, allocations: 318.8 kB / 0.7236 GB, free: 20.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.541, allocations: 92.47 kB / 0.7237 GB, free: 20.39 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.5411, allocations: 112.2 kB / 0.7238 GB, free: 20.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.5413, allocations: 149.4 kB / 0.7239 GB, free: 20.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5413, allocations: 4 kB / 0.7239 GB, free: 20.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003238/0.5416, allocations: 248.7 kB / 0.7242 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.5416, allocations: 35.08 kB / 0.7242 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5416, allocations: 0 / 0.7242 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5416, allocations: 2.188 kB / 0.7242 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.009e-05/0.5417, allocations: 17.22 kB / 0.7242 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.5417, allocations: 4 kB / 0.7242 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.5418, allocations: 39.36 kB / 0.7243 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.5419, allocations: 7.688 kB / 0.7243 GB, free: 20.04 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.097e-05/0.5419, allocations: 122.2 kB / 0.7244 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.775e-06/0.5419, allocations: 6.359 kB / 0.7244 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.5419, allocations: 15.23 kB / 0.7244 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5419, allocations: 0.8438 kB / 0.7244 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-07/0.5419, allocations: 4.094 kB / 0.7244 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-06/0.542, allocations: 15.97 kB / 0.7244 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.542, allocations: 1.859 kB / 0.7244 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.793e-05/0.542, allocations: 10.86 kB / 0.7244 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.5421, allocations: 13.8 kB / 0.7244 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002317/0.5423, allocations: 203.1 kB / 0.7246 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002078/0.5425, allocations: 304 kB / 0.7249 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.219e-05/0.5426, allocations: 46.92 kB / 0.725 GB, free: 19.51 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.224e-05/0.5426, allocations: 96.3 kB / 0.7251 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of Backend: time 1.5e-07/0.5426, allocations: 0 / 0.7251 GB, free: 19.43 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004219/0.543, allocations: 240.4 kB / 0.7253 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0003424/0.5434, allocations: 0.6107 MB / 0.7259 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of Templates: time 0.003608/0.547, allocations: 1.98 MB / 0.7278 GB, free: 18.43 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4176581599749625] Failed to read output from testmodel.py, exit status != 0: 0.5522102871909738 0.562409013 0.021334378 Calling exit ...