Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.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.001385/0.001385, 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.001482/0.001482, allocations: 165 kB / 23.02 MB, free: 1.555 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.051/1.051, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.8097/0.8097, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.616e-06/3.616e-06, allocations: 0.5469 kB / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.107e-05/4.468e-05, allocations: 5 kB / 0.5204 GB, free: 2.141 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.002177/0.002221, allocations: 0.6993 MB / 0.5211 GB, free: 1.469 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.00347, allocations: 0.847 MB / 0.5219 GB, free: 0.6094 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.478e-05/0.003515, allocations: 3.938 kB / 0.5219 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.353e-05/0.003558, allocations: 4 kB / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.524e-05/0.003643, allocations: 3.938 kB / 0.5219 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.808e-05/0.003721, allocations: 15.97 kB / 0.5219 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.222e-05/0.003814, allocations: 44.39 kB / 0.522 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.003928, allocations: 8.547 kB / 0.522 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.876e-05/0.004027, allocations: 28.47 kB / 0.522 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.542e-05/0.004072, allocations: 15.98 kB / 0.522 GB, free: 500 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.004096, allocations: 4.875 kB / 0.522 GB, free: 496 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.004105, allocations: 4 kB / 0.522 GB, free: 492 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.199e-05/0.004127, allocations: 13.39 kB / 0.522 GB, free: 480 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.004156, allocations: 8 kB / 0.522 GB, free: 472 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.859e-05/0.004254, allocations: 35.83 kB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.004257, allocations: 0 / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004258, allocations: 0.9375 kB / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.004263, allocations: 0 / 0.5221 GB, free: 436 kB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004572/0.004721, allocations: 377.6 kB / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.004767, allocations: 12.03 kB / 0.5224 GB, free: 8 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.004809, allocations: 4.891 kB / 0.5224 GB, free: 4 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.004928, allocations: 122 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.004944, allocations: 8.375 kB / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.004959, allocations: 384 / 0.5226 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.00514, allocations: 63.75 kB / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.005153, allocations: 192 / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.005166, allocations: 4.375 kB / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.005175, allocations: 1.656 kB / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.39e-05/0.005219, allocations: 7.938 kB / 0.5226 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.00557, allocations: 259.8 kB / 0.5229 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.362e-05/0.005654, allocations: 40.38 kB / 0.5229 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.005692, allocations: 15.69 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.005701, allocations: 0.7812 kB / 0.5229 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.005727, allocations: 37.39 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.005728, allocations: 1.656 kB / 0.523 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001813/0.005909, allocations: 53.66 kB / 0.523 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.005942, allocations: 51.41 kB / 0.5231 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.006037, allocations: 165.9 kB / 0.5232 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.006051, allocations: 29.7 kB / 0.5233 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.315e-05/0.006104, allocations: 137.1 kB / 0.5234 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.191e-05/0.006126, allocations: 7.938 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.862e-05/0.006165, allocations: 23.38 kB / 0.5234 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.006315, allocations: 496.1 kB / 0.5239 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.658e-05/0.006341, allocations: 4 kB / 0.5239 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.122e-05/0.006363, allocations: 7.984 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.006406, allocations: 22.22 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006407, allocations: 0 / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.264e-05/0.0065, allocations: 49.64 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.006515, allocations: 7.938 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.00652, allocations: 3.938 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.006536, allocations: 0 / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.006638, allocations: 10.75 kB / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.006643, allocations: 320 / 0.524 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.006681, allocations: 11.98 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.006688, allocations: 0 / 0.524 GB, free: 14.23 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 (3): * Single equations (assignments): 3 * 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 7.524e-05/0.006763, allocations: 152.6 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.006792, allocations: 8 kB / 0.5242 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.00682, allocations: 7.938 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006822, allocations: 1.062 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.006825, allocations: 0 / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.00683, allocations: 7.984 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.006967, allocations: 117.6 kB / 0.5243 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.006968, allocations: 3.938 kB / 0.5243 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.007021, allocations: 8.938 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.007023, allocations: 0 / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.007029, allocations: 0.5 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.007032, allocations: 7.938 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.007033, allocations: 0.6875 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.007162, allocations: 192.2 kB / 0.5245 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.233e-06/0.00717, allocations: 9.156 kB / 0.5245 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.00718, allocations: 7.984 kB / 0.5245 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.203e-05/0.007222, allocations: 8.562 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.007257, allocations: 8.016 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.00726, allocations: 0.6562 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.007298, allocations: 135.2 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.007298, allocations: 1.281 kB / 0.5247 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001366/0.007435, allocations: 4 kB / 0.5247 GB, free: 13.51 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 (3): * Single equations (assignments): 3 * 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 6.65e-05/0.007501, allocations: 101.6 kB / 0.5248 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.774e-05/0.007579, allocations: 19.69 kB / 0.5248 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.007581, allocations: 4 kB / 0.5248 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.245e-05/0.007604, allocations: 15.67 kB / 0.5248 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.007784, allocations: 8 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002375/0.008021, allocations: 137.1 kB / 0.5249 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.253e-05/0.008054, allocations: 63.34 kB / 0.525 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.261e-05/0.008076, allocations: 7.938 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.008105, allocations: 8.5 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.008105, allocations: 0.5938 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.002026/0.01013, allocations: 0.7392 MB / 0.5257 GB, free: 12.39 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.895047058816999]