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.0008406/0.0008406, allocations: 93.06 kB / 19.65 MB, free: 280 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.0009522/0.0009522, allocations: 173 kB / 23.03 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.039/1.039, allocations: 177.2 MB / 203.4 MB, free: 5.645 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.7912/0.7912, allocations: 154.9 MB / 414.8 MB, free: 400 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 1.844e-06/1.844e-06, allocations: 0 / 0.5208 GB, free: 1.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.606e-05, allocations: 4.688 kB / 0.5208 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002145/0.002172, allocations: 0.7788 MB / 0.5215 GB, free: 0.9922 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00161/0.003781, allocations: 1.203 MB / 0.5227 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.003833, allocations: 4 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.312e-05/0.003866, allocations: 3.938 kB / 0.5227 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.003946, allocations: 12.44 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.004462, allocations: 137.4 kB / 0.5228 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.004682, allocations: 123.7 kB / 0.523 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.644e-05/0.004778, allocations: 17.7 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.004921, allocations: 71.88 kB / 0.523 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.005018, allocations: 39.88 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.07e-05/0.005049, allocations: 12 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.258e-05/0.005122, allocations: 27.98 kB / 0.5231 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.488e-05/0.005147, allocations: 9.359 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.00521, allocations: 35.91 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.005406, allocations: 107.6 kB / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.005409, allocations: 0.5312 kB / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.252e-06/0.00541, allocations: 4 kB / 0.5233 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.005415, allocations: 0.75 kB / 0.5233 GB, free: 15.19 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.0005333/0.005949, allocations: 439.5 kB / 0.5237 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 2.924e-05/0.005978, allocations: 12.03 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.74e-05/0.006025, allocations: 8.891 kB / 0.5237 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.006147, allocations: 119.6 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.006156, allocations: 9.656 kB / 0.5238 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.006174, allocations: 8.375 kB / 0.5238 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.006334, allocations: 70.92 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.869e-06/0.006339, allocations: 3.656 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.006348, allocations: 4.359 kB / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.006353, allocations: 384 / 0.5239 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.606e-05/0.006399, allocations: 19.92 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003556/0.006754, allocations: 315.5 kB / 0.5242 GB, free: 14.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.459e-05/0.006809, allocations: 31.06 kB / 0.5243 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.006842, allocations: 19.77 kB / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.006853, allocations: 0 / 0.5243 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.006961, allocations: 73.55 kB / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.006962, allocations: 0 / 0.5244 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0001846/0.007147, allocations: 82.12 kB / 0.5244 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.007181, allocations: 51.91 kB / 0.5245 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.007292, allocations: 182.8 kB / 0.5247 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.00732, allocations: 29.7 kB / 0.5247 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.928e-05/0.007389, allocations: 142.8 kB / 0.5248 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.007409, allocations: 9.375 kB / 0.5248 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.15e-05/0.00748, allocations: 47.34 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.007621, allocations: 492.1 kB / 0.5253 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.007717, allocations: 61.67 kB / 0.5254 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.007822, allocations: 85.62 kB / 0.5255 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001191/0.007941, allocations: 93.88 kB / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.007943, allocations: 0 / 0.5256 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002974/0.00824, allocations: 202.6 kB / 0.5258 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.008275, allocations: 37.69 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.008279, allocations: 0 / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.008286, allocations: 0.8125 kB / 0.5258 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.201e-05/0.008368, allocations: 11.94 kB / 0.5258 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.008372, allocations: 5.25 kB / 0.5258 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.008502, allocations: 35.86 kB / 0.5259 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.008521, allocations: 10.48 kB / 0.5259 GB, free: 12.27 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 0.0001/0.008621, allocations: 168.6 kB / 0.526 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.00864, allocations: 11.89 kB / 0.526 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.008667, allocations: 8.438 kB / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.00867, allocations: 0 / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.008672, allocations: 0 / 0.526 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.008678, allocations: 6.75 kB / 0.5261 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.008787, allocations: 128.6 kB / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.008789, allocations: 0 / 0.5262 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-05/0.008838, allocations: 11.98 kB / 0.5262 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.008841, allocations: 4 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.008849, allocations: 3.938 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.00885, allocations: 0 / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.008851, allocations: 1.156 kB / 0.5262 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001455/0.008997, allocations: 104.3 kB / 0.5263 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-06/0.009006, allocations: 4 kB / 0.5263 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.009022, allocations: 8.859 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.18e-05/0.009064, allocations: 8 kB / 0.5263 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.256e-05/0.009096, allocations: 7.984 kB / 0.5263 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.009103, allocations: 0.9375 kB / 0.5263 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.467e-05/0.009158, allocations: 135.2 kB / 0.5265 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009158, allocations: 8.594 kB / 0.5265 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002238/0.009382, allocations: 24 kB / 0.5265 GB, free: 11.57 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.0001448/0.009526, allocations: 104.4 kB / 0.5266 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.009748, allocations: 159.3 kB / 0.5267 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.009749, allocations: 0 / 0.5267 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.815e-05/0.009797, allocations: 23.69 kB / 0.5268 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.01, allocations: 29.48 kB / 0.5268 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003063/0.01031, allocations: 171.9 kB / 0.527 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.774e-05/0.01034, allocations: 63.34 kB / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.73e-05/0.01037, allocations: 0 / 0.527 GB, free: 10.96 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.179e-05/0.0104, allocations: 12.5 kB / 0.527 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of SimCode: time 1.263e-06/0.0104, allocations: 0.5 kB / 0.527 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of Templates: time 0.004212/0.01462, allocations: 1.87 MB / 0.5288 GB, free: 9.188 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.8869369188323617]