Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Logical.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.0008013/0.0008013, allocations: 84.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.0008506/0.0008506, allocations: 169.2 kB / 23.19 MB, free: 1.375 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.8984/0.8984, 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.7295/0.7295, 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.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch") translateModel(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Logical.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.0009453/0.0009453, allocations: 67.91 kB / 0.6196 GB, free: 13.15 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.5021/0.503, allocations: 101.9 MB / 0.7191 GB, free: 23.7 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Validation.Switch): time 0.001549/0.5046, allocations: 0.6717 MB / 0.7198 GB, free: 23.29 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.5059, allocations: 1.293 MB / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.434e-05/0.506, allocations: 0 / 0.721 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.141e-05/0.506, allocations: 8.578 kB / 0.721 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.969e-05/0.5061, allocations: 21.45 kB / 0.7211 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.5068, allocations: 313.1 kB / 0.7214 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.507, allocations: 261.6 kB / 0.7216 GB, free: 22.07 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.5072, allocations: 10.58 kB / 0.7216 GB, free: 22.06 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.5073, allocations: 144.2 kB / 0.7218 GB, free: 22 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.5075, allocations: 86.09 kB / 0.7218 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.826e-05/0.5075, allocations: 22.09 kB / 0.7219 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 8.003e-05/0.5076, allocations: 31.34 kB / 0.7219 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.5076, allocations: 19.3 kB / 0.7219 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.002e-05/0.5077, allocations: 81.28 kB / 0.722 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.508, allocations: 270.4 kB / 0.7223 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.508, allocations: 0 / 0.7223 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/0.508, allocations: 0 / 0.7223 GB, free: 21.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.508, allocations: 1.125 kB / 0.7223 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004606/0.5085, allocations: 424.6 kB / 0.7227 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5085, allocations: 9.656 kB / 0.7227 GB, free: 21.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.5086, allocations: 15.98 kB / 0.7227 GB, free: 21.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.503e-05/0.5087, allocations: 127.8 kB / 0.7228 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.5087, allocations: 12.77 kB / 0.7228 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.5087, allocations: 17.42 kB / 0.7228 GB, free: 21.26 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.5088, allocations: 53.53 kB / 0.7229 GB, free: 21.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.5088, allocations: 3.938 kB / 0.7229 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.5088, allocations: 5.875 kB / 0.7229 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.5088, allocations: 0 / 0.7229 GB, free: 21.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.188e-05/0.5089, allocations: 18.52 kB / 0.7229 GB, free: 21.21 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.5093, allocations: 311.6 kB / 0.7232 GB, free: 20.97 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.434e-05/0.5093, allocations: 33.83 kB / 0.7232 GB, free: 20.94 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.723e-05/0.5094, allocations: 17.92 kB / 0.7233 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.5094, allocations: 5.062 kB / 0.7233 GB, free: 20.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001614/0.5095, allocations: 104.3 kB / 0.7234 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.5095, allocations: 0 / 0.7234 GB, free: 20.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0002708/0.5098, allocations: 143.4 kB / 0.7235 GB, free: 20.79 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.5098, allocations: 54.89 kB / 0.7236 GB, free: 20.73 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.5099, allocations: 137 kB / 0.7237 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.5099, allocations: 32.56 kB / 0.7237 GB, free: 20.58 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.663e-05/0.51, allocations: 106.9 kB / 0.7238 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.51, allocations: 20.11 kB / 0.7238 GB, free: 20.47 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.5101, allocations: 66.88 kB / 0.7239 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.589e-05/0.5101, allocations: 325.7 kB / 0.7242 GB, free: 20.12 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.5103, allocations: 177.1 kB / 0.7244 GB, free: 20 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.5105, allocations: 231.9 kB / 0.7246 GB, free: 19.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/0.5106, allocations: 237.7 kB / 0.7248 GB, free: 19.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5106, allocations: 9.281 kB / 0.7248 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004333/0.5111, allocations: 475.7 kB / 0.7253 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.5111, allocations: 96.72 kB / 0.7254 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5111, allocations: 6.188 kB / 0.7254 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5111, allocations: 2.188 kB / 0.7254 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.111e-05/0.5112, allocations: 8.719 kB / 0.7254 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.5112, allocations: 2.469 kB / 0.7254 GB, free: 19.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.5114, allocations: 87.44 kB / 0.7255 GB, free: 19.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.331e-05/0.5115, allocations: 18.16 kB / 0.7255 GB, free: 19.16 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: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 3 * 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 7.329e-05/0.5116, allocations: 135.7 kB / 0.7256 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.5116, allocations: 9.172 kB / 0.7256 GB, free: 19.03 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.409e-05/0.5116, allocations: 10.3 kB / 0.7256 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.5116, allocations: 5.672 kB / 0.7257 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5116, allocations: 0 / 0.7257 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.026e-05/0.5116, allocations: 12.19 kB / 0.7257 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.5116, allocations: 1.75 kB / 0.7257 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.457e-05/0.5116, allocations: 5.719 kB / 0.7257 GB, free: 19.01 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.5117, allocations: 11.72 kB / 0.7257 GB, free: 19 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001242/0.5118, allocations: 180.3 kB / 0.7259 GB, free: 18.88 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001314/0.5119, allocations: 284.2 kB / 0.7261 GB, free: 18.64 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.01e-05/0.512, allocations: 25.45 kB / 0.7261 GB, free: 18.63 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 3.342e-05/0.512, allocations: 99.48 kB / 0.7262 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of Backend: time 3.41e-07/0.512, allocations: 0 / 0.7262 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.5125, allocations: 473.9 kB / 0.7267 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0004262/0.5129, allocations: 0.6307 MB / 0.7273 GB, free: 17.53 MB / 0.6355 GB Notification: Performance of Templates: time 0.005263/0.5182, allocations: 3.028 MB / 0.7303 GB, free: 17.18 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.267558739986271] Failed to read output from testmodel.py, exit status != 0: 0.5244211140088737 0.536974347 0.026764547000000003 Calling exit ...