Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001257/0.001257, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001464/0.001464, allocations: 169 kB / 23.27 MB, free: 1.223 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.9005/0.9005, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.7993/0.7993, allocations: 154.9 MB / 415.1 MB, free: 248 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.5211 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.673e-05, allocations: 2.312 kB / 0.5211 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001348/0.001375, allocations: 0.536 MB / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.541e-05/0.00142, allocations: 5.469 kB / 0.5217 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.001448, allocations: 3.938 kB / 0.5217 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.433e-05/0.001473, allocations: 0 / 0.5217 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.762e-05/0.0015, allocations: 0 / 0.5217 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.053e-05/0.001531, allocations: 0.9375 kB / 0.5217 GB, free: 0.957 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.782e-05/0.001579, allocations: 4.875 kB / 0.5217 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.00162, allocations: 192 / 0.5217 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.922e-05/0.001649, allocations: 2.172 kB / 0.5217 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.297e-05/0.001672, allocations: 0 / 0.5217 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.001687, allocations: 4 kB / 0.5217 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.517e-06/0.001691, allocations: 0 / 0.5217 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.001705, allocations: 1.812 kB / 0.5217 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.579e-05/0.00172, allocations: 3.984 kB / 0.5217 GB, free: 0.9453 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.39e-05/0.001774, allocations: 7.938 kB / 0.5217 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.001777, allocations: 4.734 kB / 0.5217 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.001778, allocations: 0 / 0.5217 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.001782, allocations: 1.281 kB / 0.5217 GB, free: 0.9336 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002202/0.002002, allocations: 336.4 kB / 0.522 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.002041, allocations: 12.03 kB / 0.522 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.972e-05/0.002061, allocations: 2.281 kB / 0.522 GB, free: 0.5547 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.651e-05/0.002127, allocations: 104.6 kB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.002138, allocations: 4.375 kB / 0.5221 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-06/0.002143, allocations: 4.312 kB / 0.5221 GB, free: 428 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.406e-05/0.002197, allocations: 31 kB / 0.5222 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.002204, allocations: 2.031 kB / 0.5222 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-06/0.002208, allocations: 384 / 0.5222 GB, free: 392 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.002214, allocations: 4.359 kB / 0.5222 GB, free: 388 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.023e-06/0.002221, allocations: 7.938 kB / 0.5222 GB, free: 380 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.002437, allocations: 458.8 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.664e-05/0.002514, allocations: 267.4 kB / 0.5229 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.002546, allocations: 126.9 kB / 0.523 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.748e-05/0.002574, allocations: 123.2 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.002623, allocations: 160.5 kB / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.002624, allocations: 0 / 0.5233 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 5.04e-05/0.002675, allocations: 31.11 kB / 0.5233 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.002724, allocations: 178.5 kB / 0.5235 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.044e-05/0.002784, allocations: 153.9 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.835e-06/0.002792, allocations: 26.67 kB / 0.5236 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.002827, allocations: 126.9 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.72e-07/0.002827, allocations: 0.9688 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.002845, allocations: 19.38 kB / 0.5238 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.002944, allocations: 492.1 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-06/0.002946, allocations: 1.25 kB / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-06/0.00295, allocations: 0 / 0.5243 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.002975, allocations: 123.2 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.469e-05/0.003, allocations: 123.8 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.273e-05/0.003032, allocations: 25.7 kB / 0.5245 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.003064, allocations: 127.6 kB / 0.5246 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/0.003091, allocations: 128.2 kB / 0.5248 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.676e-05/0.003148, allocations: 242.3 kB / 0.525 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.106e-05/0.003179, allocations: 123.2 kB / 0.5251 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-05/0.003229, allocations: 247.6 kB / 0.5253 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.548e-05/0.003275, allocations: 119.2 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.003304, allocations: 131.1 kB / 0.5256 GB, free: 12.76 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001082/0.003412, allocations: 400.7 kB / 0.526 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.003454, allocations: 145.2 kB / 0.5261 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.784e-05/0.003501, allocations: 151.8 kB / 0.5263 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-05/0.003557, allocations: 272 kB / 0.5265 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-05/0.003609, allocations: 269.8 kB / 0.5268 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.469e-05/0.003663, allocations: 268 kB / 0.527 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.003808, allocations: 484.6 kB / 0.5275 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.029e-05/0.003838, allocations: 148.8 kB / 0.5276 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.003869, allocations: 148.9 kB / 0.5278 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-05/0.003925, allocations: 273.6 kB / 0.528 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.003979, allocations: 264.1 kB / 0.5283 GB, free: 9.887 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-05/0.004034, allocations: 268.1 kB / 0.5285 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00031/0.004344, allocations: 268 kB / 0.5288 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.004458, allocations: 452.9 kB / 0.5292 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.004492, allocations: 152.8 kB / 0.5294 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/0.004546, allocations: 264.1 kB / 0.5296 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.95e-05/0.004596, allocations: 149.8 kB / 0.5298 GB, free: 8.305 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.00465, allocations: 272.1 kB / 0.53 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.379e-05/0.004684, allocations: 156 kB / 0.5302 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.263e-05/0.004717, allocations: 119.2 kB / 0.5303 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.004717, allocations: 0 / 0.5303 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001436/0.00486, allocations: 0 / 0.5303 GB, free: 7.758 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001055/0.004966, allocations: 218.4 kB / 0.5305 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 3.381e-05/0.005, allocations: 4 kB / 0.5305 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.005001, allocations: 2.75 kB / 0.5305 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.005003, allocations: 48 / 0.5305 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.005274, allocations: 0.7062 MB / 0.5312 GB, free: 6.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001626/0.005437, allocations: 215.4 kB / 0.5314 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.648e-05/0.005464, allocations: 55.3 kB / 0.5315 GB, free: 6.508 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.224e-06/0.005466, allocations: 3.938 kB / 0.5315 GB, free: 6.504 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.005488, allocations: 66.8 kB / 0.5315 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of SimCode: time 8.12e-07/0.005489, allocations: 0 / 0.5315 GB, free: 6.438 MB / 0.4948 GB Notification: Performance of Templates: time 0.001341/0.00683, allocations: 173.3 kB / 0.5317 GB, free: 6.273 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4183601648546755]