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.001067/0.001067, allocations: 93.06 kB / 19.65 MB, free: 272 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.0009999/0.0009999, allocations: 169 kB / 23.02 MB, free: 1.543 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.9064/0.9064, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7586/0.7586, allocations: 154.6 MB / 414.5 MB, free: 0.668 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.903e-06/1.903e-06, allocations: 0.5469 kB / 0.5204 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.203e-05, allocations: 4.719 kB / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.004587/0.004609, allocations: 0.7784 MB / 0.5211 GB, free: 1.391 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.005908, allocations: 1.202 MB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.359e-05/0.005952, allocations: 0 / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.232e-05/0.005984, allocations: 8.438 kB / 0.5223 GB, free: 172 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.463e-05/0.006059, allocations: 16.83 kB / 0.5223 GB, free: 156 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.006467, allocations: 125.1 kB / 0.5225 GB, free: 32 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.00665, allocations: 139.7 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.336e-05/0.006733, allocations: 11.98 kB / 0.5226 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.006843, allocations: 68.69 kB / 0.5227 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 8.226e-05/0.006925, allocations: 51.8 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.517e-05/0.00695, allocations: 8.906 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.404e-05/0.007004, allocations: 20 kB / 0.5228 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.399e-05/0.007028, allocations: 17.58 kB / 0.5228 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 5.406e-05/0.007082, allocations: 39.95 kB / 0.5228 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.007234, allocations: 99.69 kB / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.504e-06/0.007237, allocations: 0 / 0.5229 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.41e-07/0.007238, allocations: 3.938 kB / 0.5229 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.007242, allocations: 0.6562 kB / 0.5229 GB, free: 15.58 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.003506/0.01075, allocations: 439.2 kB / 0.5233 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.01079, allocations: 12.03 kB / 0.5233 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.665e-05/0.01084, allocations: 12.89 kB / 0.5233 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.075e-05/0.01092, allocations: 120.8 kB / 0.5235 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.01094, allocations: 8.375 kB / 0.5235 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.01096, allocations: 4.375 kB / 0.5235 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.0111, allocations: 71.7 kB / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.01111, allocations: 192 / 0.5235 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.01112, allocations: 5.75 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.01113, allocations: 4.312 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.01117, allocations: 19.86 kB / 0.5236 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003602/0.01153, allocations: 314.2 kB / 0.5239 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.441e-05/0.01159, allocations: 27.06 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.102e-05/0.01162, allocations: 15.77 kB / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.01163, allocations: 0 / 0.5239 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.846e-05/0.01173, allocations: 76.92 kB / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.01173, allocations: 0 / 0.524 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001984/0.01193, allocations: 78.31 kB / 0.5241 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.01196, allocations: 60.34 kB / 0.5241 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.665e-05/0.01205, allocations: 177.9 kB / 0.5243 GB, free: 14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.01207, allocations: 29.7 kB / 0.5243 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/0.01212, allocations: 135.8 kB / 0.5244 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.01214, allocations: 23.95 kB / 0.5245 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.0122, allocations: 39.98 kB / 0.5245 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.0123, allocations: 496.1 kB / 0.525 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.116e-05/0.01239, allocations: 66.33 kB / 0.525 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.883e-05/0.01247, allocations: 88.73 kB / 0.5251 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.01258, allocations: 97.97 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01258, allocations: 0.625 kB / 0.5252 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002375/0.01282, allocations: 189.5 kB / 0.5254 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.877e-05/0.01285, allocations: 37.69 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.01285, allocations: 1 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.01286, allocations: 4 kB / 0.5254 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.772e-05/0.01294, allocations: 14.55 kB / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.01294, allocations: 0 / 0.5255 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.01305, allocations: 27.88 kB / 0.5255 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.01308, allocations: 15.98 kB / 0.5255 GB, free: 12.66 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.924e-05/0.01317, allocations: 156.6 kB / 0.5257 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.01318, allocations: 19.02 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.033e-05/0.01321, allocations: 4.438 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01322, allocations: 4 kB / 0.5257 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01322, allocations: 3.984 kB / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.01323, allocations: 0 / 0.5257 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.691e-05/0.01332, allocations: 128.6 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01333, allocations: 4 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00305/0.01638, allocations: 15.92 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01638, allocations: 1.656 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.01639, allocations: 7.938 kB / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.01639, allocations: 0 / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01639, allocations: 0 / 0.5258 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.01652, allocations: 106.7 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.266e-06/0.01653, allocations: 4 kB / 0.5259 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.01655, allocations: 3.938 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.111e-05/0.01658, allocations: 4 kB / 0.5259 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.01662, allocations: 11.98 kB / 0.526 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.01663, allocations: 8.125 kB / 0.526 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.015e-05/0.01668, allocations: 141.9 kB / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01668, allocations: 0 / 0.5261 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002114/0.01689, allocations: 27.94 kB / 0.5261 GB, free: 11.96 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.0001284/0.01702, allocations: 111.2 kB / 0.5262 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.01722, allocations: 148.8 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01722, allocations: 1.344 kB / 0.5264 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5e-05/0.01727, allocations: 31.61 kB / 0.5264 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.01747, allocations: 15.22 kB / 0.5264 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.01783, allocations: 167.5 kB / 0.5266 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.01787, allocations: 59.36 kB / 0.5266 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.2e-05/0.0179, allocations: 12.62 kB / 0.5266 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.293e-05/0.01793, allocations: 16.5 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.01793, allocations: 0.6562 kB / 0.5267 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of Templates: time 0.006602/0.02453, allocations: 1.872 MB / 0.5285 GB, free: 9.586 MB / 0.4948 GB " [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.5895510450936854]