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.001006/0.001006, allocations: 92.22 kB / 19.65 MB, free: 276 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.001458/0.001458, allocations: 173 kB / 23.02 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 0.9136/0.9136, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.7458/0.7458, allocations: 154.6 MB / 414.5 MB, free: 0.6641 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 2.064e-06/2.064e-06, allocations: 0 / 0.5204 GB, free: 2.125 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.632e-05, allocations: 4.672 kB / 0.5204 GB, free: 2.121 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Add): time 0.001366/0.001392, allocations: 0.6825 MB / 0.5211 GB, free: 1.465 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008357/0.002228, allocations: 0.8515 MB / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.693e-05/0.002275, allocations: 0.5625 kB / 0.5219 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.002313, allocations: 5.641 kB / 0.5219 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.71e-05/0.0024, allocations: 8.703 kB / 0.5219 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.407e-05/0.002474, allocations: 9.203 kB / 0.5219 GB, free: 0.582 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.236e-05/0.002566, allocations: 51.84 kB / 0.522 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.002684, allocations: 3.984 kB / 0.522 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.002795, allocations: 28.55 kB / 0.522 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/0.002841, allocations: 23.91 kB / 0.522 GB, free: 488 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.002872, allocations: 5.812 kB / 0.522 GB, free: 484 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.00288, allocations: 0 / 0.522 GB, free: 484 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.129e-05/0.002901, allocations: 8 kB / 0.522 GB, free: 476 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.002935, allocations: 15.92 kB / 0.522 GB, free: 460 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.003052, allocations: 29.3 kB / 0.5221 GB, free: 432 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.003057, allocations: 0 / 0.5221 GB, free: 432 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.003058, allocations: 0 / 0.5221 GB, free: 432 kB / 490.7 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.003067, allocations: 0 / 0.5221 GB, free: 432 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.0004817/0.003549, allocations: 373.2 kB / 0.5224 GB, free: 20 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.712e-05/0.003606, allocations: 9.219 kB / 0.5224 GB, free: 12 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.392e-05/0.00366, allocations: 12.89 kB / 0.5224 GB, free: 0 / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.003815, allocations: 116.5 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.003832, allocations: 1.094 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.003845, allocations: 4.375 kB / 0.5226 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.004057, allocations: 67.47 kB / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.004071, allocations: 5.422 kB / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.004083, allocations: 384 / 0.5226 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.004096, allocations: 8.359 kB / 0.5226 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.618e-05/0.004133, allocations: 11.94 kB / 0.5227 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.004489, allocations: 256.7 kB / 0.5229 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 7.531e-05/0.004564, allocations: 43.5 kB / 0.5229 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.004596, allocations: 19.2 kB / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.807e-06/0.004605, allocations: 0 / 0.523 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.004626, allocations: 37.39 kB / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.004627, allocations: 0 / 0.523 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0001573/0.004785, allocations: 49.62 kB / 0.523 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.004817, allocations: 51.41 kB / 0.5231 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.004904, allocations: 165.9 kB / 0.5232 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.052e-05/0.004915, allocations: 29.7 kB / 0.5233 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/0.00496, allocations: 134.8 kB / 0.5234 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.004979, allocations: 11.89 kB / 0.5234 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.005007, allocations: 24.02 kB / 0.5234 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.005113, allocations: 496.7 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.005129, allocations: 4 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.005143, allocations: 4.5 kB / 0.5239 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.382e-05/0.005177, allocations: 16.61 kB / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.005178, allocations: 0 / 0.5239 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.417e-05/0.005242, allocations: 45.66 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.005257, allocations: 9.5 kB / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.005261, allocations: 320 / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.005275, allocations: 0 / 0.524 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.424e-05/0.00536, allocations: 15.92 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.005364, allocations: 1.812 kB / 0.524 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.005389, allocations: 7.984 kB / 0.524 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.005395, allocations: 7.984 kB / 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 6.284e-05/0.005458, allocations: 158.3 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.005472, allocations: 4 kB / 0.5242 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.005495, allocations: 11.94 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.005496, allocations: 0 / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.0055, allocations: 0 / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.005502, allocations: 2.75 kB / 0.5242 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.243e-05/0.005595, allocations: 124.6 kB / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.005596, allocations: 0 / 0.5243 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.005627, allocations: 11.98 kB / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005629, allocations: 336 / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.005637, allocations: 0 / 0.5243 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.005643, allocations: 11.88 kB / 0.5243 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005644, allocations: 1.906 kB / 0.5243 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.005757, allocations: 199.8 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.005768, allocations: 3.938 kB / 0.5245 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.005785, allocations: 4 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.873e-05/0.005824, allocations: 15.92 kB / 0.5245 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.005871, allocations: 4.938 kB / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.005873, allocations: 0 / 0.5246 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.032e-05/0.005913, allocations: 131.2 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.005913, allocations: 0.7188 kB / 0.5247 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001315/0.006045, allocations: 4 kB / 0.5247 GB, free: 13.49 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 0.0001087/0.006153, allocations: 99.03 kB / 0.5248 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.334e-05/0.006247, allocations: 19.67 kB / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.006249, allocations: 0 / 0.5248 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.089e-05/0.006269, allocations: 19.62 kB / 0.5248 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.006473, allocations: 11.98 kB / 0.5248 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000302/0.006775, allocations: 133.3 kB / 0.525 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.888e-05/0.006814, allocations: 59.34 kB / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.986e-05/0.006834, allocations: 0 / 0.525 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.006866, allocations: 12.5 kB / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.006867, allocations: 0 / 0.525 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.002464/0.009331, allocations: 0.7861 MB / 0.5258 GB, free: 12.34 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.460155407898128]