Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.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.0009544/0.0009544, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009839/0.0009839, allocations: 181 kB / 23.36 MB, free: 1.133 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.055/1.055, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.8265/0.8265, allocations: 154.6 MB / 414.8 MB, free: 492 kB / 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.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0.7656 kB / 480.1 MB, free: 6.734 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.693e-05/2.85e-05, allocations: 2.312 kB / 480.1 MB, free: 6.73 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002089/0.002117, allocations: 1.056 MB / 481.2 MB, free: 5.711 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003334, allocations: 1.066 MB / 482.2 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.003447, allocations: 0 / 482.2 MB, free: 4.637 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001328/0.00358, allocations: 28.72 kB / 482.3 MB, free: 4.609 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.946e-05/0.003639, allocations: 18.08 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.003948, allocations: 76.98 kB / 482.4 MB, free: 4.523 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.004149, allocations: 178.8 kB / 482.5 MB, free: 4.355 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.004329, allocations: 59.2 kB / 482.6 MB, free: 4.297 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.004509, allocations: 105 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.004621, allocations: 59.78 kB / 482.8 MB, free: 4.137 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.598e-05/0.004657, allocations: 16 kB / 482.8 MB, free: 4.121 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.004755, allocations: 25.28 kB / 482.8 MB, free: 4.098 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.004801, allocations: 35.89 kB / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.982e-05/0.004851, allocations: 51.83 kB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.005103, allocations: 135.4 kB / 483 MB, free: 3.879 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005106, allocations: 2.25 kB / 483 MB, free: 3.879 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.005108, allocations: 0 / 483 MB, free: 3.879 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.005114, allocations: 0 / 483 MB, free: 3.879 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005498/0.005663, allocations: 375.2 kB / 483.4 MB, free: 3.488 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.005703, allocations: 9.062 kB / 483.4 MB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.005817, allocations: 24.92 kB / 483.4 MB, free: 3.457 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.006, allocations: 158.9 kB / 483.6 MB, free: 3.277 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.006022, allocations: 12.38 kB / 483.6 MB, free: 3.266 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.006048, allocations: 17.25 kB / 483.6 MB, free: 3.25 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.006237, allocations: 150.8 kB / 483.7 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.006247, allocations: 0.8438 kB / 483.8 MB, free: 3.09 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.00626, allocations: 8.688 kB / 483.8 MB, free: 3.082 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.006267, allocations: 4 kB / 483.8 MB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.388e-05/0.006321, allocations: 37.81 kB / 483.8 MB, free: 3.043 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.006834, allocations: 317.5 kB / 484.1 MB, free: 2.719 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.007028, allocations: 81.78 kB / 484.2 MB, free: 2.633 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.081e-05/0.007069, allocations: 37.66 kB / 484.2 MB, free: 2.594 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.007092, allocations: 4 kB / 484.2 MB, free: 2.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.007208, allocations: 118.8 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 1.853e-06/0.00721, allocations: 0 / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001894/0.007399, allocations: 112.9 kB / 484.5 MB, free: 2.344 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.007429, allocations: 55.34 kB / 484.5 MB, free: 2.277 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.007512, allocations: 146.6 kB / 484.7 MB, free: 2.121 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.007534, allocations: 34.23 kB / 484.7 MB, free: 2.082 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.007582, allocations: 113.5 kB / 484.8 MB, free: 1.969 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.007626, allocations: 67.42 kB / 484.9 MB, free: 1.902 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.007674, allocations: 41.67 kB / 484.9 MB, free: 1.855 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.943e-05/0.007763, allocations: 331.5 kB / 485.2 MB, free: 1.523 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.305e-05/0.007816, allocations: 20 kB / 485.2 MB, free: 1.504 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.007867, allocations: 51.47 kB / 485.3 MB, free: 1.449 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.983e-05/0.007947, allocations: 72.14 kB / 485.4 MB, free: 1.375 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.00795, allocations: 7.938 kB / 485.4 MB, free: 1.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00011/0.00806, allocations: 106.2 kB / 485.5 MB, free: 1.258 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.008073, allocations: 9.156 kB / 485.5 MB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.008077, allocations: 0 / 485.5 MB, free: 1.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.008091, allocations: 3.938 kB / 485.5 MB, free: 1.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.008194, allocations: 44.56 kB / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.008198, allocations: 0 / 485.5 MB, free: 1.203 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.471e-05/0.008243, allocations: 17.8 kB / 485.6 MB, free: 1.188 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.00826, allocations: 15.98 kB / 485.6 MB, free: 1.172 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.9e-05/0.008339, allocations: 121.8 kB / 485.7 MB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.008357, allocations: 15.98 kB / 485.7 MB, free: 1.027 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.008493, allocations: 103.5 kB / 485.8 MB, free: 0.918 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.008498, allocations: 8.781 kB / 485.8 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.008499, allocations: 0 / 485.8 MB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.008504, allocations: 5.141 kB / 485.8 MB, free: 0.9062 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.008847, allocations: 375.7 kB / 486.2 MB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.008849, allocations: 0.875 kB / 486.2 MB, free: 0.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.008937, allocations: 35.92 kB / 486.2 MB, free: 476 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.371e-06/0.008942, allocations: 9.391 kB / 486.2 MB, free: 468 kB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.008954, allocations: 4 kB / 486.2 MB, free: 464 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.008957, allocations: 4 kB / 486.2 MB, free: 460 kB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.008961, allocations: 7.938 kB / 486.2 MB, free: 452 kB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.009156, allocations: 254.5 kB / 486.5 MB, free: 164 kB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.772e-05/0.009173, allocations: 19.83 kB / 486.5 MB, free: 144 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.009192, allocations: 9.438 kB / 486.5 MB, free: 136 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.346e-05/0.009255, allocations: 12 kB / 486.5 MB, free: 124 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.009305, allocations: 23.89 kB / 486.6 MB, free: 100 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.009315, allocations: 8.594 kB / 486.6 MB, free: 92 kB / 442.7 MB Notification: Performance of sorting global known variables: time 2.782e-05/0.009343, allocations: 35.39 kB / 486.6 MB, free: 56 kB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009343, allocations: 0.875 kB / 486.6 MB, free: 56 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001586/0.009502, allocations: 31.95 kB / 486.6 MB, free: 24 kB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001199/0.009622, allocations: 95.34 kB / 486.7 MB, free: 15.93 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000136/0.009758, allocations: 86.12 kB / 486.8 MB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.009761, allocations: 0.5312 kB / 486.8 MB, free: 15.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.42e-05/0.009815, allocations: 58.81 kB / 486.9 MB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.009999, allocations: 37.91 kB / 486.9 MB, free: 15.75 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.01057, allocations: 375.7 kB / 487.3 MB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.508e-05/0.01062, allocations: 72.02 kB / 487.3 MB, free: 15.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.518e-05/0.01066, allocations: 19.11 kB / 487.4 MB, free: 15.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.692e-05/0.01075, allocations: 75.36 kB / 487.4 MB, free: 15.16 MB / 458.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01075, allocations: 1.969 kB / 487.4 MB, free: 15.16 MB / 458.7 MB Notification: Performance of Templates: time 0.003548/0.0143, allocations: 1.838 MB / 489.3 MB, free: 13.45 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.750833658967167]