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.0009368/0.0009368, allocations: 92.22 kB / 19.65 MB, free: 276 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.002144/0.002144, allocations: 169 kB / 23.02 MB, free: 1.547 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.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.8552/0.8552, allocations: 154.8 MB / 414.7 MB, free: 480 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 2.775e-06/2.775e-06, allocations: 0 / 0.5206 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.298e-05, allocations: 2.312 kB / 0.5206 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002031/0.002064, allocations: 0.7843 MB / 0.5214 GB, free: 1.117 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.003699, allocations: 1.19 MB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.003751, allocations: 4 kB / 0.5226 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.003788, allocations: 8.469 kB / 0.5226 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.275e-05/0.003871, allocations: 20.7 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004908/0.004362, allocations: 125.4 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.004562, allocations: 135.7 kB / 0.5228 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.832e-05/0.00466, allocations: 12 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001331/0.004794, allocations: 67.88 kB / 0.5229 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.004894, allocations: 48.42 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.004923, allocations: 12.5 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.004993, allocations: 20 kB / 0.523 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.625e-05/0.005029, allocations: 9.016 kB / 0.523 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.754e-05/0.005097, allocations: 43.89 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.005286, allocations: 100.9 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.00529, allocations: 4 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005291, allocations: 0 / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.005296, allocations: 0 / 0.5231 GB, free: 15.32 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.0005499/0.005846, allocations: 442.6 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.005888, allocations: 13.56 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.005947, allocations: 8.891 kB / 0.5236 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.836e-05/0.006046, allocations: 123.6 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.006061, allocations: 384 / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.006088, allocations: 13.23 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.006257, allocations: 67.97 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006268, allocations: 192 / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.006281, allocations: 4.375 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.006291, allocations: 5.469 kB / 0.5238 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.616e-05/0.006347, allocations: 15.86 kB / 0.5238 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.006767, allocations: 307.6 kB / 0.5241 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.585e-05/0.006833, allocations: 39.95 kB / 0.5241 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.006868, allocations: 11.69 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.006891, allocations: 0.5312 kB / 0.5241 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001173/0.007008, allocations: 81.72 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.123e-06/0.007009, allocations: 0 / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002822/0.007291, allocations: 74.39 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.007327, allocations: 51.41 kB / 0.5243 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.007439, allocations: 182.4 kB / 0.5245 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.007464, allocations: 38.48 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.766e-05/0.007532, allocations: 134.9 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.007554, allocations: 19.95 kB / 0.5247 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.007628, allocations: 42.27 kB / 0.5247 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.007761, allocations: 496.1 kB / 0.5252 GB, free: 13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.007867, allocations: 65.61 kB / 0.5253 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.007974, allocations: 84.73 kB / 0.5254 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.0081, allocations: 88.75 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.008102, allocations: 0 / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003015/0.008403, allocations: 193.9 kB / 0.5256 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.00844, allocations: 41.69 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.008445, allocations: 0.5625 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.008462, allocations: 0.5625 kB / 0.5257 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.798e-05/0.00856, allocations: 16.92 kB / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.008567, allocations: 0 / 0.5257 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/0.008701, allocations: 29.31 kB / 0.5257 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.203e-05/0.008723, allocations: 7.984 kB / 0.5257 GB, free: 12.41 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 9.454e-05/0.008818, allocations: 169.6 kB / 0.5259 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.008843, allocations: 11.89 kB / 0.5259 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.008878, allocations: 8.438 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.008881, allocations: 1.812 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.008886, allocations: 3.984 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.008889, allocations: 4 kB / 0.5259 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.009072, allocations: 132.6 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.009073, allocations: 0.5312 kB / 0.526 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.936e-05/0.009133, allocations: 17.14 kB / 0.5261 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.009137, allocations: 4 kB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.009146, allocations: 3.938 kB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.009148, allocations: 2.75 kB / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.009149, allocations: 0 / 0.5261 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/0.009305, allocations: 112.4 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.009315, allocations: 4 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.009331, allocations: 3.938 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.98e-05/0.009371, allocations: 4 kB / 0.5262 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.009419, allocations: 11.98 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.009427, allocations: 2.438 kB / 0.5262 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.066e-05/0.009487, allocations: 143.1 kB / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009487, allocations: 0 / 0.5263 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002656/0.009753, allocations: 27.94 kB / 0.5264 GB, free: 11.7 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.0001545/0.009908, allocations: 103.1 kB / 0.5265 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002595/0.01017, allocations: 153.4 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01017, allocations: 1 kB / 0.5266 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.427e-05/0.01022, allocations: 27.61 kB / 0.5266 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.01046, allocations: 26.47 kB / 0.5267 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003871/0.01085, allocations: 169.3 kB / 0.5268 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.01089, allocations: 59.36 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.234e-05/0.01092, allocations: 3.984 kB / 0.5269 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.01096, allocations: 12.5 kB / 0.5269 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.01096, allocations: 2.781 kB / 0.5269 GB, free: 11.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.004376/0.01534, allocations: 1.714 MB / 0.5286 GB, free: 9.461 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.950854084920138]