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.0008154/0.0008154, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001105/0.00192, 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.0007285/0.0007285, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009007/0.001629, 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 0.9823/0.9823, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.087, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.7737/0.7737, allocations: 154.6 MB / 398.5 MB, free: 0.5156 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.2898/1.063, allocations: 49.04 MB / 447.6 MB, free: 6.738 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.874e-06/1.874e-06, allocations: 0 / 448.8 MB, free: 5.484 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/2.012e-05, allocations: 4.875 kB / 448.8 MB, free: 5.48 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002082/0.002102, allocations: 0.7117 MB / 449.6 MB, free: 4.809 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001389/0.00349, allocations: 1.147 MB / 450.7 MB, free: 3.656 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.00353, allocations: 3.938 kB / 450.7 MB, free: 3.652 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.003545, allocations: 5.188 kB / 450.7 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.678e-05/0.003572, allocations: 2.844 kB / 450.7 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.003765, allocations: 56.41 kB / 450.8 MB, free: 3.594 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.66e-05/0.003852, allocations: 66.42 kB / 450.8 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.003896, allocations: 8.75 kB / 450.8 MB, free: 3.527 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.425e-05/0.003971, allocations: 50.36 kB / 450.9 MB, free: 3.48 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.24e-05/0.004013, allocations: 27.64 kB / 450.9 MB, free: 3.457 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.004026, allocations: 4 kB / 450.9 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.411e-05/0.00411, allocations: 27.97 kB / 451 MB, free: 3.426 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.00413, allocations: 11.02 kB / 451 MB, free: 3.418 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.004155, allocations: 14.28 kB / 451 MB, free: 3.406 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000104/0.004259, allocations: 55.98 kB / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.004267, allocations: 2.062 kB / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.004268, allocations: 0 / 451 MB, free: 3.355 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.004275, allocations: 0 / 451 MB, free: 3.355 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.0003779/0.004653, allocations: 299.8 kB / 451.3 MB, free: 3.039 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.323e-05/0.004677, allocations: 8.031 kB / 451.3 MB, free: 3.031 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.004791, allocations: 90.03 kB / 451.4 MB, free: 2.926 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.142e-05/0.004863, allocations: 117.7 kB / 451.5 MB, free: 2.785 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.004878, allocations: 8.875 kB / 451.5 MB, free: 2.777 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.004888, allocations: 4.375 kB / 451.6 MB, free: 2.773 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.004996, allocations: 77.55 kB / 451.6 MB, free: 2.691 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-06/0.005001, allocations: 192 / 451.6 MB, free: 2.691 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.00501, allocations: 12.36 kB / 451.6 MB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-06/0.005014, allocations: 1.25 kB / 451.6 MB, free: 2.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.515e-05/0.005049, allocations: 15.94 kB / 451.7 MB, free: 2.664 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.005317, allocations: 176.8 kB / 451.8 MB, free: 2.477 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.265e-05/0.0054, allocations: 47.25 kB / 451.9 MB, free: 2.422 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.358e-05/0.005423, allocations: 13.86 kB / 451.9 MB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.005438, allocations: 5.734 kB / 451.9 MB, free: 2.402 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.646e-05/0.005525, allocations: 69.33 kB / 452 MB, free: 2.324 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 9.31e-07/0.005526, allocations: 0 / 452 MB, free: 2.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001295/0.005655, allocations: 85.67 kB / 452 MB, free: 2.234 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.005689, allocations: 55.5 kB / 452.1 MB, free: 2.168 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.898e-05/0.005748, allocations: 118.6 kB / 452.2 MB, free: 2.039 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.005768, allocations: 42.78 kB / 452.3 MB, free: 1.992 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.005841, allocations: 80.38 kB / 452.3 MB, free: 1.906 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.005866, allocations: 27.78 kB / 452.4 MB, free: 1.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.005911, allocations: 34.84 kB / 452.4 MB, free: 1.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.006003, allocations: 322.8 kB / 452.7 MB, free: 1.516 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.006024, allocations: 8 kB / 452.7 MB, free: 1.508 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.286e-05/0.006067, allocations: 39.73 kB / 452.8 MB, free: 1.461 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.806e-05/0.006135, allocations: 57.44 kB / 452.8 MB, free: 1.398 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006137, allocations: 1.031 kB / 452.8 MB, free: 1.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001044/0.006241, allocations: 77.59 kB / 452.9 MB, free: 1.316 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.006252, allocations: 5.219 kB / 452.9 MB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.635e-06/0.006254, allocations: 4 kB / 452.9 MB, free: 1.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.164e-06/0.006262, allocations: 3.938 kB / 452.9 MB, free: 1.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.289e-05/0.006354, allocations: 28.98 kB / 452.9 MB, free: 1.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.00636, allocations: 4 kB / 452.9 MB, free: 1.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.006397, allocations: 13.33 kB / 452.9 MB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.006405, allocations: 7.938 kB / 453 MB, free: 1.254 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 7.718e-05/0.006482, allocations: 129.8 kB / 453.1 MB, free: 1.117 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.006496, allocations: 4.844 kB / 453.1 MB, free: 1.113 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.006597, allocations: 70.05 kB / 453.2 MB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.006601, allocations: 5.656 kB / 453.2 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.006602, allocations: 0 / 453.2 MB, free: 1.035 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.006607, allocations: 3.984 kB / 453.2 MB, free: 1.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.006807, allocations: 215.4 kB / 453.4 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.006808, allocations: 4 kB / 453.4 MB, free: 0.793 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.006843, allocations: 10.22 kB / 453.4 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.056e-05/0.006854, allocations: 13.81 kB / 453.4 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.006855, allocations: 0 / 453.4 MB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.006863, allocations: 3.984 kB / 453.4 MB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.006864, allocations: 4 kB / 453.4 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.006865, allocations: 0 / 453.4 MB, free: 0.7656 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.006974, allocations: 160.2 kB / 453.6 MB, free: 0.5938 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.006991, allocations: 11.94 kB / 453.6 MB, free: 0.582 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.007062, allocations: 8.859 kB / 453.6 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.007083, allocations: 3.984 kB / 453.6 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.007089, allocations: 5.062 kB / 453.6 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.464e-05/0.007104, allocations: 17.11 kB / 453.6 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007104, allocations: 0 / 453.6 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002115/0.007315, allocations: 24.55 kB / 453.6 MB, free: 0.5234 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: 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 9.141e-05/0.007407, allocations: 81.05 kB / 453.7 MB, free: 448 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001011/0.007508, allocations: 54.02 kB / 453.8 MB, free: 392 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.007515, allocations: 4 kB / 453.8 MB, free: 388 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.913e-05/0.007554, allocations: 29.41 kB / 453.8 MB, free: 356 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.007716, allocations: 16.55 kB / 453.8 MB, free: 340 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007333/0.008449, allocations: 166.7 kB / 454 MB, free: 152 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.008489, allocations: 64.89 kB / 454 MB, free: 68 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.975e-05/0.008519, allocations: 8.484 kB / 454.1 MB, free: 60 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.603e-05/0.008575, allocations: 59.38 kB / 454.1 MB, free: 0 / 426.7 MB Notification: Performance of SimCode: time 5.71e-07/0.008575, allocations: 4.953 kB / 454.1 MB, free: 15.99 MB / 442.7 MB Notification: Performance of Templates: time 0.00295/0.01152, allocations: 1.136 MB / 455.3 MB, free: 14.95 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.553496359847486]