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.00101/0.00101, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001037/0.001037, allocations: 173 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/1, allocations: 177.1 MB / 203.8 MB, free: 5.656 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-545:108: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-545:116: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.8268/0.8268, allocations: 154.6 MB / 414.9 MB, free: 0.6836 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: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.5204 GB, free: 1.391 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.52e-05, allocations: 7.422 kB / 0.5204 GB, free: 1.387 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.001357/0.001383, allocations: 0.7857 MB / 0.5212 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.002576, allocations: 1.19 MB / 0.5223 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.002619, allocations: 0.5 kB / 0.5223 GB, free: 15.42 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.398e-05/0.002643, allocations: 4.625 kB / 0.5223 GB, free: 15.41 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.958e-05/0.002703, allocations: 21.02 kB / 0.5223 GB, free: 15.39 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.003065, allocations: 139.5 kB / 0.5225 GB, free: 15.26 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.003212, allocations: 120.4 kB / 0.5226 GB, free: 15.14 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.666e-05/0.003288, allocations: 13.8 kB / 0.5226 GB, free: 15.13 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001042/0.003393, allocations: 75.88 kB / 0.5227 GB, free: 15.05 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.545e-05/0.003468, allocations: 39.88 kB / 0.5227 GB, free: 15.02 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.347e-05/0.003491, allocations: 12 kB / 0.5227 GB, free: 15 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.145e-05/0.003543, allocations: 27.97 kB / 0.5228 GB, free: 14.98 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.003562, allocations: 9.719 kB / 0.5228 GB, free: 14.97 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.326e-05/0.003615, allocations: 35.91 kB / 0.5228 GB, free: 14.93 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.003757, allocations: 103.7 kB / 0.5229 GB, free: 14.83 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003759, allocations: 0 / 0.5229 GB, free: 14.83 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.00376, allocations: 1.406 kB / 0.5229 GB, free: 14.83 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.003763, allocations: 0 / 0.5229 GB, free: 14.83 MB / 458.7 MB 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.0004013/0.004164, allocations: 442.1 kB / 0.5233 GB, free: 14.36 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.004195, allocations: 8.531 kB / 0.5233 GB, free: 14.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.004241, allocations: 12.89 kB / 0.5233 GB, free: 14.34 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.186e-05/0.004323, allocations: 133.2 kB / 0.5235 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.004333, allocations: 4.375 kB / 0.5235 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.004349, allocations: 5.844 kB / 0.5235 GB, free: 14.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.004475, allocations: 74.92 kB / 0.5236 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.004481, allocations: 4.188 kB / 0.5236 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.004489, allocations: 1.719 kB / 0.5236 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.004495, allocations: 384 / 0.5236 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.766e-05/0.004533, allocations: 15.94 kB / 0.5236 GB, free: 14.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.004842, allocations: 315 kB / 0.5239 GB, free: 13.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.693e-05/0.004889, allocations: 31.05 kB / 0.5239 GB, free: 13.69 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.733e-05/0.004916, allocations: 15.69 kB / 0.5239 GB, free: 13.67 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.004932, allocations: 4 kB / 0.5239 GB, free: 13.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.641e-05/0.005019, allocations: 77.02 kB / 0.524 GB, free: 13.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 7.62e-07/0.005019, allocations: 0 / 0.524 GB, free: 13.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001687/0.005188, allocations: 77.62 kB / 0.5241 GB, free: 13.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.005216, allocations: 51.41 kB / 0.5241 GB, free: 13.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.005307, allocations: 185.9 kB / 0.5243 GB, free: 13.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.005328, allocations: 26.27 kB / 0.5243 GB, free: 13.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.005386, allocations: 143.4 kB / 0.5245 GB, free: 13.05 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.005401, allocations: 11.91 kB / 0.5245 GB, free: 13.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.993e-05/0.005451, allocations: 35.92 kB / 0.5245 GB, free: 13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.005567, allocations: 0.497 MB / 0.525 GB, free: 12.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.056e-05/0.005637, allocations: 53.69 kB / 0.525 GB, free: 12.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.076e-05/0.005718, allocations: 98.14 kB / 0.5251 GB, free: 12.32 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.118e-05/0.005809, allocations: 92.69 kB / 0.5252 GB, free: 12.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.005811, allocations: 0 / 0.5252 GB, free: 12.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002044/0.006015, allocations: 205.9 kB / 0.5254 GB, free: 11.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.006042, allocations: 32.27 kB / 0.5254 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.006047, allocations: 4 kB / 0.5255 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.006055, allocations: 0 / 0.5255 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.668e-05/0.006122, allocations: 15.92 kB / 0.5255 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.006126, allocations: 0 / 0.5255 GB, free: 11.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/0.006215, allocations: 38.67 kB / 0.5255 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.006228, allocations: 4 kB / 0.5255 GB, free: 11.9 MB / 458.7 MB 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.577e-05/0.006324, allocations: 164.5 kB / 0.5257 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.006335, allocations: 7.938 kB / 0.5257 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.006358, allocations: 16.42 kB / 0.5257 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.006359, allocations: 0 / 0.5257 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.006363, allocations: 0 / 0.5257 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.006366, allocations: 1.094 kB / 0.5257 GB, free: 11.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.062e-05/0.006446, allocations: 132.6 kB / 0.5258 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006447, allocations: 0 / 0.5258 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/0.006478, allocations: 13.23 kB / 0.5258 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006479, allocations: 0 / 0.5258 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.006487, allocations: 8.875 kB / 0.5258 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-07/0.006488, allocations: 0 / 0.5258 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006489, allocations: 4 kB / 0.5258 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.006596, allocations: 105 kB / 0.5259 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.253e-06/0.006603, allocations: 3.953 kB / 0.5259 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.006616, allocations: 9.188 kB / 0.526 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.771e-05/0.006643, allocations: 11.98 kB / 0.526 GB, free: 11.37 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.006678, allocations: 3.984 kB / 0.526 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.006683, allocations: 6.438 kB / 0.526 GB, free: 11.36 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.431e-05/0.006728, allocations: 138.5 kB / 0.5261 GB, free: 11.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006728, allocations: 0 / 0.5261 GB, free: 11.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001447/0.006872, allocations: 24 kB / 0.5261 GB, free: 11.2 MB / 458.7 MB 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.0001049/0.006977, allocations: 106.2 kB / 0.5262 GB, free: 11.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.00715, allocations: 152.7 kB / 0.5264 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.007151, allocations: 0 / 0.5264 GB, free: 10.92 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.089e-05/0.007202, allocations: 31.61 kB / 0.5264 GB, free: 10.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001436/0.007345, allocations: 15.98 kB / 0.5264 GB, free: 10.87 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002602/0.007606, allocations: 164 kB / 0.5266 GB, free: 10.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.982e-05/0.007635, allocations: 59.34 kB / 0.5266 GB, free: 10.61 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.213e-05/0.007657, allocations: 7.75 kB / 0.5266 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.007681, allocations: 12.5 kB / 0.5267 GB, free: 10.59 MB / 458.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007681, allocations: 0 / 0.5267 GB, free: 10.59 MB / 458.7 MB Notification: Performance of Templates: time 0.003103/0.01078, allocations: 1.712 MB / 0.5283 GB, free: 8.984 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7443680418655276]