Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.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.00217/0.00217, allocations: 85.48 kB / 19.44 MB, free: 348 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.002653/0.002653, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.745/1.745, allocations: 177.1 MB / 203.1 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] 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 1.339/1.339, allocations: 154.6 MB / 414.1 MB, free: 0.6445 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 178] 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.5197 GB, free: 2.512 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.112e-05/3.379e-05, allocations: 2.312 kB / 0.5197 GB, free: 2.508 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.001756/0.001789, allocations: 0.5635 MB / 0.5202 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 4.667e-05/0.001836, allocations: 4 kB / 0.5202 GB, free: 1.957 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.001862, allocations: 9.344 kB / 0.5202 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.037e-05/0.001883, allocations: 0 / 0.5202 GB, free: 1.949 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.641e-05/0.001919, allocations: 3.938 kB / 0.5202 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.088e-05/0.00195, allocations: 0 / 0.5202 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.011e-05/0.002, allocations: 1.156 kB / 0.5202 GB, free: 1.945 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.002047, allocations: 8.172 kB / 0.5202 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.002078, allocations: 0 / 0.5202 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.106e-05/0.002099, allocations: 0.8125 kB / 0.5202 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.002112, allocations: 0 / 0.5202 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-06/0.002116, allocations: 1.281 kB / 0.5202 GB, free: 1.938 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.002129, allocations: 3.984 kB / 0.5202 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.572e-05/0.002145, allocations: 0 / 0.5202 GB, free: 1.934 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 5.702e-05/0.002202, allocations: 8 kB / 0.5203 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002204, allocations: 1.344 kB / 0.5203 GB, free: 1.926 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002205, allocations: 0 / 0.5203 GB, free: 1.926 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.002209, allocations: 0 / 0.5203 GB, free: 1.926 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.0003923/0.002601, allocations: 340.4 kB / 0.5206 GB, free: 1.555 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.00264, allocations: 8.812 kB / 0.5206 GB, free: 1.547 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.002674, allocations: 0.9375 kB / 0.5206 GB, free: 1.547 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.002793, allocations: 114.4 kB / 0.5207 GB, free: 1.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.002805, allocations: 384 / 0.5207 GB, free: 1.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-06/0.002811, allocations: 384 / 0.5207 GB, free: 1.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.468e-05/0.002896, allocations: 34.27 kB / 0.5207 GB, free: 1.371 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.002906, allocations: 10.17 kB / 0.5207 GB, free: 1.363 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-06/0.002913, allocations: 384 / 0.5207 GB, free: 1.363 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.002917, allocations: 384 / 0.5207 GB, free: 1.363 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.577e-05/0.002932, allocations: 3.938 kB / 0.5207 GB, free: 1.359 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004206/0.003353, allocations: 474.2 kB / 0.5212 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.003535, allocations: 266.9 kB / 0.5214 GB, free: 0.5859 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.003614, allocations: 130.8 kB / 0.5216 GB, free: 464 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.824e-05/0.003682, allocations: 119.2 kB / 0.5217 GB, free: 344 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.616e-05/0.003778, allocations: 156.6 kB / 0.5218 GB, free: 176 kB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.003779, allocations: 0.9688 kB / 0.5218 GB, free: 176 kB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 8.064e-05/0.003859, allocations: 33.62 kB / 0.5219 GB, free: 136 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.003986, allocations: 170.6 kB / 0.522 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.004118, allocations: 158.9 kB / 0.5222 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.004147, allocations: 26.7 kB / 0.5222 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.004221, allocations: 126.9 kB / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-06/0.004223, allocations: 0 / 0.5223 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.004254, allocations: 15.88 kB / 0.5223 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002676/0.004521, allocations: 497.1 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-06/0.004526, allocations: 3.938 kB / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.875e-06/0.004529, allocations: 0 / 0.5228 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.663e-05/0.004595, allocations: 120.4 kB / 0.5229 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.415e-05/0.004659, allocations: 119.2 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.933e-05/0.004719, allocations: 33.69 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/0.004796, allocations: 127.7 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.147e-05/0.004867, allocations: 127.1 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/0.005009, allocations: 244.2 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.005073, allocations: 119.3 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001363/0.005209, allocations: 246.3 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.005313, allocations: 123.2 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.861e-05/0.005382, allocations: 128.8 kB / 0.5241 GB, free: 13.73 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.0004824/0.005864, allocations: 398.9 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.005967, allocations: 148.9 kB / 0.5247 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.006069, allocations: 155.8 kB / 0.5248 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001454/0.006214, allocations: 269.6 kB / 0.5251 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001454/0.00636, allocations: 268.1 kB / 0.5253 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001466/0.006506, allocations: 272 kB / 0.5256 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.006859, allocations: 495.9 kB / 0.5261 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-05/0.006943, allocations: 149.7 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/0.007033, allocations: 148.8 kB / 0.5263 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001614/0.007194, allocations: 273 kB / 0.5266 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/0.007341, allocations: 268 kB / 0.5269 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001463/0.007487, allocations: 272 kB / 0.5271 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001452/0.007633, allocations: 273 kB / 0.5274 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.007906, allocations: 440 kB / 0.5278 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.562e-05/0.008002, allocations: 148.8 kB / 0.5279 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.008159, allocations: 275 kB / 0.5282 GB, free: 9.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.008279, allocations: 152.8 kB / 0.5284 GB, free: 9.246 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.008428, allocations: 268.1 kB / 0.5286 GB, free: 8.977 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.492e-05/0.008513, allocations: 149.2 kB / 0.5288 GB, free: 8.824 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.829e-05/0.008591, allocations: 119.2 kB / 0.5289 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008591, allocations: 0 / 0.5289 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000234/0.008825, allocations: 0 / 0.5289 GB, free: 8.707 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.0002159/0.009041, allocations: 221.1 kB / 0.5291 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.779e-05/0.009089, allocations: 0 / 0.5291 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.009091, allocations: 0 / 0.5291 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.009092, allocations: 0 / 0.5291 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005771/0.009669, allocations: 0.7071 MB / 0.5298 GB, free: 7.773 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003311/0.01, allocations: 217.2 kB / 0.53 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.604e-05/0.01007, allocations: 52.55 kB / 0.53 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.485e-06/0.01007, allocations: 0 / 0.53 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.01009, allocations: 8.5 kB / 0.53 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of SimCode: time 5.31e-07/0.01009, allocations: 0 / 0.53 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of Templates: time 0.002417/0.0125, allocations: 167.8 kB / 0.5302 GB, free: 7.297 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.382959626032971]