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.0009643/0.0009643, allocations: 85.27 kB / 19.87 MB, free: 4.613 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.0008722/0.0008722, allocations: 165 kB / 23.27 MB, free: 1.219 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.9022/0.9022, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.7642/0.7642, allocations: 154.6 MB / 414.8 MB, free: 0.5469 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.493e-06/1.493e-06, allocations: 0 / 0.5208 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.656e-05, allocations: 4.281 kB / 0.5208 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.004557/0.004574, allocations: 0.7665 MB / 0.5216 GB, free: 1.129 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.00585, allocations: 1.205 MB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.817e-05/0.005898, allocations: 1.812 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 2.752e-05/0.005926, allocations: 3.938 kB / 0.5228 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.591e-05/0.006002, allocations: 15.86 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003937/0.006396, allocations: 125.4 kB / 0.5229 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.006555, allocations: 135.7 kB / 0.523 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.13e-05/0.006636, allocations: 11.98 kB / 0.523 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.006764, allocations: 80.61 kB / 0.5231 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.006842, allocations: 35.94 kB / 0.5231 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.006867, allocations: 13.41 kB / 0.5232 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.649e-05/0.006923, allocations: 19.98 kB / 0.5232 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.006947, allocations: 19.92 kB / 0.5232 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.07e-05/0.006987, allocations: 35.91 kB / 0.5232 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.003151/0.01014, allocations: 105 kB / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.01014, allocations: 0 / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.41e-07/0.01014, allocations: 0 / 0.5233 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.01014, allocations: 0 / 0.5233 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.0004294/0.01057, allocations: 447.6 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.01061, allocations: 8.031 kB / 0.5238 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.01065, allocations: 12.89 kB / 0.5238 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.166e-05/0.01072, allocations: 117.5 kB / 0.5239 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.01073, allocations: 8.375 kB / 0.5239 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.01075, allocations: 12.36 kB / 0.5239 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.01087, allocations: 70.88 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.01088, allocations: 192 / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.01088, allocations: 384 / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.01089, allocations: 4.922 kB / 0.524 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.816e-05/0.01092, allocations: 12.5 kB / 0.524 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.01121, allocations: 293.2 kB / 0.5243 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.203e-05/0.01125, allocations: 31 kB / 0.5243 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.994e-05/0.01127, allocations: 11.78 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.01129, allocations: 8.484 kB / 0.5243 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.433e-05/0.01138, allocations: 66.55 kB / 0.5244 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 2.003e-06/0.01138, allocations: 3.984 kB / 0.5244 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001623/0.01154, allocations: 81.5 kB / 0.5245 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.01157, allocations: 56.34 kB / 0.5245 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.091e-05/0.01165, allocations: 177.9 kB / 0.5247 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.01167, allocations: 25.7 kB / 0.5247 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.387e-05/0.01172, allocations: 144.4 kB / 0.5249 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.5e-05/0.01173, allocations: 11.91 kB / 0.5249 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.01179, allocations: 39.34 kB / 0.5249 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.01192, allocations: 0.4923 MB / 0.5254 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.01198, allocations: 58.7 kB / 0.5254 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.01205, allocations: 76.69 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.223e-05/0.01214, allocations: 97.42 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.01214, allocations: 1.281 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002054/0.01235, allocations: 180.9 kB / 0.5258 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.01238, allocations: 44.89 kB / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01238, allocations: 0 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.01239, allocations: 0 / 0.5258 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.782e-05/0.01246, allocations: 11.98 kB / 0.5258 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.01246, allocations: 4 kB / 0.5258 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.01257, allocations: 39.73 kB / 0.5259 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.01258, allocations: 4.312 kB / 0.5259 GB, free: 12.46 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 7.394e-05/0.01266, allocations: 167.6 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.01267, allocations: 7.953 kB / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.0127, allocations: 16.38 kB / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.0127, allocations: 0 / 0.5261 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.0127, allocations: 4 kB / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.0127, allocations: 0 / 0.5261 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.618e-05/0.01279, allocations: 113.2 kB / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.01279, allocations: 0 / 0.5262 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/0.01283, allocations: 13.48 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.01283, allocations: 0 / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.059e-06/0.01284, allocations: 0 / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01284, allocations: 0 / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.01284, allocations: 4.438 kB / 0.5262 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.01295, allocations: 110.8 kB / 0.5263 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.122e-05/0.01296, allocations: 8 kB / 0.5263 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.01297, allocations: 0 / 0.5263 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.113e-05/0.013, allocations: 7.984 kB / 0.5263 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.887e-05/0.01303, allocations: 7.938 kB / 0.5263 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.01304, allocations: 7.984 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.515e-05/0.01308, allocations: 136.5 kB / 0.5265 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01308, allocations: 0 / 0.5265 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002015/0.01328, allocations: 27.94 kB / 0.5265 GB, free: 11.79 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.0001012/0.01338, allocations: 103.2 kB / 0.5266 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.01355, allocations: 144.7 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.01355, allocations: 1.75 kB / 0.5267 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.01359, allocations: 27.66 kB / 0.5267 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.01377, allocations: 26.48 kB / 0.5268 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.01403, allocations: 166.4 kB / 0.5269 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.956e-05/0.01406, allocations: 56.73 kB / 0.527 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.01408, allocations: 9.109 kB / 0.527 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.256e-05/0.01418, allocations: 92.62 kB / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of SimCode: time 3.9e-07/0.01418, allocations: 0 / 0.5271 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.006841/0.02102, allocations: 1.876 MB / 0.5289 GB, free: 9.348 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.290987447835505]