Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.0009529/0.0009529, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001687/0.00264, allocations: 440 kB / 10.41 MB, free: 284 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.0009541/0.0009541, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001017/0.001971, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9712/0.9712, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08059/1.052, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.8 MB, free: 400 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.3051/1.062, allocations: 49.04 MB / 447.8 MB, free: 6.586 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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 449.1 MB, free: 5.305 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.75e-05, allocations: 3.719 kB / 449.1 MB, free: 5.301 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001638/0.001655, allocations: 0.7329 MB / 449.8 MB, free: 4.613 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.002889, allocations: 1.143 MB / 451 MB, free: 3.461 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.002938, allocations: 0 / 451 MB, free: 3.461 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.002962, allocations: 3.938 kB / 451 MB, free: 3.457 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.572e-05/0.003008, allocations: 11.61 kB / 451 MB, free: 3.449 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.003217, allocations: 53.12 kB / 451.1 MB, free: 3.398 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001036/0.003321, allocations: 66.47 kB / 451.1 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.899e-05/0.00339, allocations: 7.984 kB / 451.1 MB, free: 3.336 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.003495, allocations: 46.25 kB / 451.2 MB, free: 3.293 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.003553, allocations: 28.09 kB / 451.2 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.003569, allocations: 4 kB / 451.2 MB, free: 3.266 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.273e-05/0.003652, allocations: 27.97 kB / 451.2 MB, free: 3.238 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.163e-05/0.003673, allocations: 11.31 kB / 451.2 MB, free: 3.23 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.003701, allocations: 18.41 kB / 451.3 MB, free: 3.215 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.003823, allocations: 47.67 kB / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.003835, allocations: 0 / 451.3 MB, free: 3.172 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.003835, allocations: 4.969 kB / 451.3 MB, free: 3.168 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.003848, allocations: 0 / 451.3 MB, free: 3.168 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004914/0.004339, allocations: 296 kB / 451.6 MB, free: 2.855 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.004376, allocations: 9.531 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001422/0.004518, allocations: 90.03 kB / 451.7 MB, free: 2.742 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.742e-05/0.004616, allocations: 117.7 kB / 451.8 MB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.065e-05/0.004636, allocations: 9.359 kB / 451.8 MB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.004652, allocations: 4.875 kB / 451.8 MB, free: 2.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.00478, allocations: 81.94 kB / 451.9 MB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.004787, allocations: 192 / 451.9 MB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.004796, allocations: 384 / 451.9 MB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.004803, allocations: 384 / 451.9 MB, free: 2.504 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.004841, allocations: 24.53 kB / 451.9 MB, free: 2.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003081/0.005149, allocations: 179.5 kB / 452.1 MB, free: 2.293 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.534e-05/0.005235, allocations: 43.59 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.348e-05/0.005258, allocations: 13.05 kB / 452.2 MB, free: 2.227 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.005278, allocations: 11.94 kB / 452.2 MB, free: 2.215 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.148e-05/0.005369, allocations: 64.39 kB / 452.2 MB, free: 2.141 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.492e-06/0.005371, allocations: 0 / 452.2 MB, free: 2.141 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.000156/0.005527, allocations: 77.55 kB / 452.3 MB, free: 2.059 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.005567, allocations: 64.02 kB / 452.4 MB, free: 1.984 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.524e-05/0.005632, allocations: 118.9 kB / 452.5 MB, free: 1.859 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.00565, allocations: 29.7 kB / 452.5 MB, free: 1.824 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.005684, allocations: 84.38 kB / 452.6 MB, free: 1.734 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.005711, allocations: 31.77 kB / 452.6 MB, free: 1.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.005755, allocations: 25.7 kB / 452.7 MB, free: 1.672 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.005838, allocations: 322.8 kB / 453 MB, free: 1.348 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.00586, allocations: 8 kB / 453 MB, free: 1.34 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.926e-05/0.0059, allocations: 43.05 kB / 453 MB, free: 1.289 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.059e-05/0.00596, allocations: 55.48 kB / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005962, allocations: 0 / 453.1 MB, free: 1.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.106e-05/0.006043, allocations: 81.55 kB / 453.2 MB, free: 1.145 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.006054, allocations: 8 kB / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.006058, allocations: 0 / 453.2 MB, free: 1.137 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.006072, allocations: 3.938 kB / 453.2 MB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/0.006161, allocations: 36.83 kB / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.006164, allocations: 0 / 453.2 MB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.006191, allocations: 12.89 kB / 453.2 MB, free: 1.086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.006201, allocations: 8.859 kB / 453.2 MB, free: 1.078 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 5.976e-05/0.006261, allocations: 123 kB / 453.3 MB, free: 0.9492 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-06/0.00627, allocations: 5.312 kB / 453.4 MB, free: 0.9453 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.814e-05/0.006358, allocations: 70.09 kB / 453.4 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.006366, allocations: 7.938 kB / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.006367, allocations: 0 / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.00637, allocations: 0.6562 kB / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.006539, allocations: 225.9 kB / 453.7 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.006541, allocations: 1.219 kB / 453.7 MB, free: 0.6172 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/0.006574, allocations: 15.94 kB / 453.7 MB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.163e-06/0.006581, allocations: 7.891 kB / 453.7 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.006584, allocations: 9.047 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.00659, allocations: 0 / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006591, allocations: 3.938 kB / 453.7 MB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.006592, allocations: 1.125 kB / 453.7 MB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.052e-05/0.006673, allocations: 156.1 kB / 453.8 MB, free: 424 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.006686, allocations: 7.938 kB / 453.9 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.324e-05/0.006729, allocations: 13.11 kB / 453.9 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.73e-05/0.006757, allocations: 7.984 kB / 453.9 MB, free: 396 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/0.006761, allocations: 1.406 kB / 453.9 MB, free: 396 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.289e-05/0.006774, allocations: 12.84 kB / 453.9 MB, free: 380 kB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.006774, allocations: 0 / 453.9 MB, free: 380 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.000141/0.006915, allocations: 27.92 kB / 453.9 MB, free: 352 kB / 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: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001024/0.007017, allocations: 86.7 kB / 454 MB, free: 260 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 8.83e-05/0.007105, allocations: 56.8 kB / 454.1 MB, free: 200 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.007111, allocations: 0 / 454.1 MB, free: 200 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.007151, allocations: 36.77 kB / 454.1 MB, free: 160 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001572/0.007309, allocations: 72.2 kB / 454.2 MB, free: 76 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005769/0.007886, allocations: 159.3 kB / 454.3 MB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.12e-05/0.007917, allocations: 59.34 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.557e-05/0.007942, allocations: 5.188 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.007994, allocations: 67.97 kB / 454.4 MB, free: 15.75 MB / 442.7 MB Notification: Performance of SimCode: time 6.31e-07/0.007994, allocations: 0 / 454.4 MB, free: 15.75 MB / 442.7 MB Notification: Performance of Templates: time 0.002487/0.01048, allocations: 1.119 MB / 455.6 MB, free: 14.72 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.455300083383918]