Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009442/0.0009442, allocations: 77.95 kB / 20.66 MB, free: 3.828 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.0009789/0.0009789, allocations: 169 kB / 24.06 MB, free: 444 kB / 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.9201/0.9201, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.7416/0.7416, allocations: 154.6 MB / 415.6 MB, free: 0.5195 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.5215 GB, free: 1.902 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.524e-05, allocations: 7.906 kB / 0.5215 GB, free: 1.895 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.00154/0.001565, allocations: 0.5368 MB / 0.5221 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.548e-05/0.00161, allocations: 4 kB / 0.5221 GB, free: 1.371 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.971e-05/0.00164, allocations: 0 / 0.5221 GB, free: 1.371 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.001671, allocations: 4.625 kB / 0.5221 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.056e-05/0.001701, allocations: 0 / 0.5221 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.187e-05/0.001733, allocations: 2.156 kB / 0.5221 GB, free: 1.367 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.547e-05/0.001809, allocations: 4 kB / 0.5221 GB, free: 1.363 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.001852, allocations: 4.188 kB / 0.5221 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.00188, allocations: 6 kB / 0.5221 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.989e-05/0.001899, allocations: 0 / 0.5221 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.001911, allocations: 0 / 0.5221 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.396e-06/0.001915, allocations: 336 / 0.5221 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.001926, allocations: 4.594 kB / 0.5221 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.107e-05/0.001937, allocations: 0 / 0.5221 GB, free: 1.352 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 4.848e-05/0.001986, allocations: 9.828 kB / 0.5221 GB, free: 1.344 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.001988, allocations: 0 / 0.5221 GB, free: 1.344 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.12e-07/0.001989, allocations: 0 / 0.5221 GB, free: 1.344 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.001992, allocations: 0 / 0.5221 GB, free: 1.344 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.0002063/0.002198, allocations: 340.4 kB / 0.5224 GB, free: 0.9727 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.017e-05/0.002228, allocations: 13.73 kB / 0.5224 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.827e-05/0.002246, allocations: 4.938 kB / 0.5225 GB, free: 0.957 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.687e-05/0.002313, allocations: 104.6 kB / 0.5226 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.002322, allocations: 384 / 0.5226 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-06/0.002326, allocations: 1.844 kB / 0.5226 GB, free: 0.8281 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.757e-05/0.002374, allocations: 38.2 kB / 0.5226 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.002381, allocations: 192 / 0.5226 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-06/0.002385, allocations: 384 / 0.5226 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.002389, allocations: 1.344 kB / 0.5226 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.382e-06/0.002396, allocations: 3.938 kB / 0.5226 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.00258, allocations: 455.8 kB / 0.523 GB, free: 316 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.643e-05/0.002666, allocations: 273.4 kB / 0.5233 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.504e-05/0.002711, allocations: 126.9 kB / 0.5234 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.002736, allocations: 120.5 kB / 0.5235 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.002775, allocations: 152.6 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.002775, allocations: 4 kB / 0.5237 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0): time 4.03e-05/0.002816, allocations: 30.14 kB / 0.5237 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.002864, allocations: 171.6 kB / 0.5239 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/0.002928, allocations: 153.9 kB / 0.524 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.502e-06/0.002934, allocations: 26.92 kB / 0.524 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.002967, allocations: 130.9 kB / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.71e-07/0.002967, allocations: 3.938 kB / 0.5242 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.791e-05/0.002985, allocations: 21.14 kB / 0.5242 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.86e-05/0.003084, allocations: 492.1 kB / 0.5247 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.156e-06/0.003087, allocations: 7.938 kB / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.505e-06/0.00309, allocations: 0 / 0.5247 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.003114, allocations: 119.2 kB / 0.5248 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.338e-05/0.003137, allocations: 121 kB / 0.5249 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.283e-05/0.00317, allocations: 30.05 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.0032, allocations: 123.2 kB / 0.525 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/0.003228, allocations: 127.1 kB / 0.5252 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.097e-05/0.003279, allocations: 242.3 kB / 0.5254 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.51e-05/0.003304, allocations: 129 kB / 0.5255 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.848e-05/0.003352, allocations: 246.3 kB / 0.5258 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.828e-05/0.003401, allocations: 119.2 kB / 0.5259 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.003427, allocations: 127.1 kB / 0.526 GB, free: 13.18 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 9.658e-05/0.003523, allocations: 392 kB / 0.5264 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.061e-05/0.003564, allocations: 144.9 kB / 0.5265 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.00361, allocations: 160.8 kB / 0.5267 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.988e-05/0.00367, allocations: 280 kB / 0.5269 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-05/0.003725, allocations: 264.1 kB / 0.5272 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.393e-05/0.003779, allocations: 275.2 kB / 0.5274 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.003923, allocations: 472.6 kB / 0.5279 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.319e-05/0.003956, allocations: 160.8 kB / 0.528 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.051e-05/0.003986, allocations: 144.9 kB / 0.5282 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.538e-05/0.004042, allocations: 264.1 kB / 0.5284 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.004098, allocations: 276 kB / 0.5287 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.152e-05/0.00415, allocations: 264.1 kB / 0.5289 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-05/0.004201, allocations: 268 kB / 0.5292 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.004359, allocations: 454.7 kB / 0.5296 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.004396, allocations: 148.8 kB / 0.5298 GB, free: 9.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.004456, allocations: 264.1 kB / 0.53 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.004747, allocations: 160.8 kB / 0.5302 GB, free: 8.715 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.00481, allocations: 268.1 kB / 0.5304 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.513e-05/0.004845, allocations: 149.2 kB / 0.5306 GB, free: 8.293 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.004881, allocations: 123.2 kB / 0.5307 GB, free: 8.172 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.004881, allocations: 5.5 kB / 0.5307 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002294/0.00511, allocations: 0 / 0.5307 GB, free: 8.168 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 9.658e-05/0.005207, allocations: 211.7 kB / 0.5309 GB, free: 7.953 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 3.092e-05/0.005238, allocations: 4 kB / 0.5309 GB, free: 7.949 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.005239, allocations: 3.938 kB / 0.5309 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.00524, allocations: 0 / 0.5309 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.005601, allocations: 0.7084 MB / 0.5316 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001649/0.005766, allocations: 213.5 kB / 0.5318 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.005798, allocations: 55.3 kB / 0.5319 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.774e-06/0.005799, allocations: 0.5 kB / 0.5319 GB, free: 6.922 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.005825, allocations: 72.17 kB / 0.5319 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of SimCode: time 8.32e-07/0.005825, allocations: 0 / 0.5319 GB, free: 6.852 MB / 0.4948 GB Notification: Performance of Templates: time 0.001363/0.007188, allocations: 171.2 kB / 0.5321 GB, free: 6.688 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4169455571100116]