Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.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.0007859/0.0007859, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001072/0.001858, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007512/0.0007512, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001754, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.045/1.045, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09585/1.141, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.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.7566/0.7566, allocations: 154.6 MB / 398.5 MB, free: 0.5078 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2803/1.037, allocations: 49.04 MB / 447.6 MB, free: 6.68 MB / 426.7 MB " [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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0.7656 kB / 448.9 MB, free: 5.344 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.476e-05, allocations: 5.125 kB / 448.9 MB, free: 5.34 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001538/0.001563, allocations: 0.739 MB / 449.7 MB, free: 4.641 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008808/0.002444, allocations: 0.8558 MB / 450.5 MB, free: 3.777 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.002475, allocations: 0 / 450.5 MB, free: 3.777 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.156e-05/0.002497, allocations: 3.938 kB / 450.5 MB, free: 3.773 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.966e-05/0.002537, allocations: 14.55 kB / 450.5 MB, free: 3.762 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.722e-05/0.002584, allocations: 14.5 kB / 450.6 MB, free: 3.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.002658, allocations: 47.62 kB / 450.6 MB, free: 3.711 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.182e-05/0.002729, allocations: 12 kB / 450.6 MB, free: 3.699 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.002811, allocations: 26.27 kB / 450.6 MB, free: 3.676 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.652e-05/0.002848, allocations: 17.62 kB / 450.7 MB, free: 3.66 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.002864, allocations: 1.359 kB / 450.7 MB, free: 3.66 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.141e-06/0.002871, allocations: 5.406 kB / 450.7 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.492e-05/0.002886, allocations: 10.52 kB / 450.7 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.002905, allocations: 4.875 kB / 450.7 MB, free: 3.645 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 7.018e-05/0.002975, allocations: 27.42 kB / 450.7 MB, free: 3.621 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-05/0.002989, allocations: 0.7188 kB / 450.7 MB, free: 3.621 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00299, allocations: 0 / 450.7 MB, free: 3.621 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.338e-05/0.003003, allocations: 0.5 kB / 450.7 MB, free: 3.621 MB / 426.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.0003187/0.003322, allocations: 260.4 kB / 451 MB, free: 3.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.003355, allocations: 15.95 kB / 451 MB, free: 3.324 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.003377, allocations: 4.938 kB / 451 MB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.638e-05/0.003454, allocations: 117.7 kB / 451.1 MB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.003462, allocations: 1.281 kB / 451.1 MB, free: 3.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.003469, allocations: 4.375 kB / 451.1 MB, free: 3.176 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.003583, allocations: 64.81 kB / 451.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.003589, allocations: 192 / 451.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.003595, allocations: 1.25 kB / 451.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.003599, allocations: 384 / 451.2 MB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.214e-05/0.003622, allocations: 11.94 kB / 451.2 MB, free: 3.094 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.003828, allocations: 153.1 kB / 451.3 MB, free: 2.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.245e-05/0.003881, allocations: 27.84 kB / 451.4 MB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.003902, allocations: 13.41 kB / 451.4 MB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.003909, allocations: 0 / 451.4 MB, free: 2.879 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.003928, allocations: 34.62 kB / 451.4 MB, free: 2.836 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.583e-06/0.003929, allocations: 3.094 kB / 451.4 MB, free: 2.836 MB / 426.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001462/0.004075, allocations: 50.66 kB / 451.5 MB, free: 2.781 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.004104, allocations: 55.41 kB / 451.5 MB, free: 2.715 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.004159, allocations: 114.7 kB / 451.6 MB, free: 2.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.004169, allocations: 26.67 kB / 451.7 MB, free: 2.559 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.004197, allocations: 84.12 kB / 451.7 MB, free: 2.473 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.004215, allocations: 13.73 kB / 451.7 MB, free: 2.461 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.004242, allocations: 17.72 kB / 451.8 MB, free: 2.438 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.226e-05/0.004314, allocations: 316.3 kB / 452.1 MB, free: 2.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.004324, allocations: 4 kB / 452.1 MB, free: 2.117 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.004334, allocations: 3.984 kB / 452.1 MB, free: 2.113 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.293e-05/0.004357, allocations: 16.86 kB / 452.1 MB, free: 2.094 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.004358, allocations: 4.438 kB / 452.1 MB, free: 2.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.38e-05/0.004402, allocations: 38.41 kB / 452.1 MB, free: 2.047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.004412, allocations: 4 kB / 452.1 MB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.004417, allocations: 2.234 kB / 452.1 MB, free: 2.043 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.248e-06/0.004426, allocations: 7.938 kB / 452.2 MB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.611e-05/0.004503, allocations: 12.75 kB / 452.2 MB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.004505, allocations: 0 / 452.2 MB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.138e-05/0.004527, allocations: 8.609 kB / 452.2 MB, free: 2.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.004531, allocations: 1.625 kB / 452.2 MB, free: 2.016 MB / 426.7 MB 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 4.65e-05/0.004577, allocations: 109.8 kB / 452.3 MB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.004588, allocations: 4 kB / 452.3 MB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.004608, allocations: 4 kB / 452.3 MB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.004611, allocations: 9.453 kB / 452.3 MB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.004613, allocations: 0 / 452.3 MB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.004616, allocations: 2.234 kB / 452.3 MB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.161e-05/0.004698, allocations: 73.81 kB / 452.4 MB, free: 1.793 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.004699, allocations: 4 kB / 452.4 MB, free: 1.789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.741e-05/0.004726, allocations: 16.55 kB / 452.4 MB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.004733, allocations: 11.36 kB / 452.4 MB, free: 1.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.004734, allocations: 3.938 kB / 452.4 MB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-06/0.004738, allocations: 0 / 452.4 MB, free: 1.762 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.004739, allocations: 4 kB / 452.4 MB, free: 1.758 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.004741, allocations: 3.938 kB / 452.4 MB, free: 1.754 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.365e-05/0.004814, allocations: 131.5 kB / 452.5 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.888e-06/0.004824, allocations: 0 / 452.5 MB, free: 1.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.568e-05/0.00486, allocations: 7.984 kB / 452.6 MB, free: 1.602 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.004896, allocations: 5.547 kB / 452.6 MB, free: 1.598 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-06/0.0049, allocations: 5.312 kB / 452.6 MB, free: 1.594 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.706e-05/0.004917, allocations: 20.83 kB / 452.6 MB, free: 1.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004917, allocations: 0 / 452.6 MB, free: 1.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001119/0.005029, allocations: 4 kB / 452.6 MB, free: 1.566 MB / 426.7 MB 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 9.015e-05/0.005119, allocations: 81.61 kB / 452.7 MB, free: 1.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.025e-05/0.005179, allocations: 17.47 kB / 452.7 MB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.005185, allocations: 0 / 452.7 MB, free: 1.461 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.495e-05/0.0052, allocations: 9.484 kB / 452.7 MB, free: 1.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.005359, allocations: 23.06 kB / 452.7 MB, free: 1.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.005698, allocations: 126.1 kB / 452.8 MB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.01e-05/0.005728, allocations: 64.22 kB / 452.9 MB, free: 1.203 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.085e-05/0.005749, allocations: 5.656 kB / 452.9 MB, free: 1.199 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.619e-05/0.005795, allocations: 51.38 kB / 453 MB, free: 1.148 MB / 426.7 MB Notification: Performance of SimCode: time 6.42e-07/0.005796, allocations: 0 / 453 MB, free: 1.148 MB / 426.7 MB Notification: Performance of Templates: time 0.00199/0.007785, allocations: 0.6792 MB / 453.6 MB, free: 0.5078 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.571340183727443]