Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001127/0.001127, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001339/0.001339, allocations: 177 kB / 23.49 MB, free: 1.059 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 1.036/1.036, allocations: 177.1 MB / 203.8 MB, free: 5.598 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-535:34: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-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8098/0.8098, allocations: 154.8 MB / 415.1 MB, free: 476 kB / 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.Reals.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.388e-06/4.388e-06, allocations: 0 / 0.5206 GB, free: 2.219 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.046e-05/3.485e-05, allocations: 7.297 kB / 0.5206 GB, free: 2.211 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.005065/0.005099, allocations: 0.7811 MB / 0.5214 GB, free: 1.457 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.00652, allocations: 1.197 MB / 0.5226 GB, free: 252 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.039e-05/0.006571, allocations: 0.5312 kB / 0.5226 GB, free: 252 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.0066, allocations: 5.156 kB / 0.5226 GB, free: 248 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.811e-05/0.006678, allocations: 23.78 kB / 0.5226 GB, free: 224 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.007705, allocations: 128.3 kB / 0.5227 GB, free: 96 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002308/0.007936, allocations: 124.4 kB / 0.5228 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.008058, allocations: 17.28 kB / 0.5229 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.008214, allocations: 67.89 kB / 0.5229 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.008317, allocations: 47.86 kB / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.008347, allocations: 8.938 kB / 0.523 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.698e-05/0.008424, allocations: 27.94 kB / 0.523 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.699e-05/0.008451, allocations: 7.984 kB / 0.523 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.404e-05/0.008515, allocations: 44.39 kB / 0.5231 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002002/0.008715, allocations: 103.2 kB / 0.5232 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.008718, allocations: 0 / 0.5232 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.743e-06/0.00872, allocations: 0 / 0.5232 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.008725, allocations: 0 / 0.5232 GB, free: 15.66 MB / 0.4948 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.0005682/0.009293, allocations: 438.1 kB / 0.5236 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.00934, allocations: 12.03 kB / 0.5236 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.009408, allocations: 12.89 kB / 0.5236 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.00951, allocations: 127.6 kB / 0.5237 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.009526, allocations: 4.375 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/0.009546, allocations: 4.969 kB / 0.5237 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.009729, allocations: 71.48 kB / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.009738, allocations: 4.734 kB / 0.5238 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.009751, allocations: 4.375 kB / 0.5238 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.009761, allocations: 1.312 kB / 0.5238 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.009808, allocations: 15.94 kB / 0.5238 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.01024, allocations: 313.1 kB / 0.5241 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.492e-05/0.01031, allocations: 31.05 kB / 0.5242 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.01034, allocations: 15.69 kB / 0.5242 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.01036, allocations: 0 / 0.5242 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001384/0.0105, allocations: 77.84 kB / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.0105, allocations: 0 / 0.5242 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002207/0.01072, allocations: 78.14 kB / 0.5243 GB, free: 14.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.01076, allocations: 57.38 kB / 0.5244 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.187e-05/0.01085, allocations: 177.9 kB / 0.5245 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.01087, allocations: 29.7 kB / 0.5246 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.01094, allocations: 142.9 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.01096, allocations: 11.98 kB / 0.5247 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.01101, allocations: 43.88 kB / 0.5248 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.01112, allocations: 496.1 kB / 0.5252 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.395e-05/0.01119, allocations: 62.12 kB / 0.5253 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.165e-05/0.01128, allocations: 93.39 kB / 0.5254 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.51e-05/0.01137, allocations: 93.56 kB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01137, allocations: 1.438 kB / 0.5255 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002166/0.01159, allocations: 193 kB / 0.5257 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.01163, allocations: 37.69 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.01163, allocations: 0.7812 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.01165, allocations: 4 kB / 0.5257 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.01175, allocations: 17.73 kB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.01176, allocations: 0 / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.354e-05/0.01185, allocations: 35.86 kB / 0.5257 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.01187, allocations: 10.75 kB / 0.5258 GB, free: 12.74 MB / 0.4948 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 8.291e-05/0.01196, allocations: 160.6 kB / 0.5259 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/0.01197, allocations: 11.89 kB / 0.5259 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.012, allocations: 12.42 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.01201, allocations: 7.984 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01201, allocations: 0 / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01201, allocations: 1.844 kB / 0.5259 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.091e-05/0.0121, allocations: 124.6 kB / 0.5261 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01211, allocations: 4 kB / 0.5261 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.023e-05/0.01215, allocations: 11.98 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.01215, allocations: 0 / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.01216, allocations: 4.875 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.01216, allocations: 0 / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01216, allocations: 3.938 kB / 0.5261 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001161/0.01227, allocations: 105.1 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-06/0.01228, allocations: 4 kB / 0.5262 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.0123, allocations: 4.875 kB / 0.5262 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.01232, allocations: 11.98 kB / 0.5262 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.01236, allocations: 9.203 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.01237, allocations: 4 kB / 0.5262 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.01242, allocations: 135.2 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01242, allocations: 0.6562 kB / 0.5263 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001451/0.01256, allocations: 27.95 kB / 0.5264 GB, free: 12.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001639/0.01273, allocations: 110.7 kB / 0.5265 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.01293, allocations: 164.7 kB / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01293, allocations: 0 / 0.5266 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.01297, allocations: 27.61 kB / 0.5267 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001785/0.01315, allocations: 19.48 kB / 0.5267 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.01349, allocations: 165.1 kB / 0.5268 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.484e-05/0.01352, allocations: 63.34 kB / 0.5269 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.437e-05/0.01355, allocations: 4 kB / 0.5269 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.01358, allocations: 12.5 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of SimCode: time 7.12e-07/0.01358, allocations: 1.812 kB / 0.5269 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of Templates: time 0.003828/0.0174, allocations: 1.717 MB / 0.5286 GB, free: 9.797 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.950439397012815]