Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0009696/0.0009696, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001425/0.002394, 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.001159/0.001159, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004823/0.005982, 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.9802/0.9802, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1289/1.109, 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-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/Examples/PPD12/Structure.mo:531:21-535:34: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-master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo): time 0.7678/0.7678, allocations: 155.3 MB / 399.2 MB, free: 15.94 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/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-master/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.2845/1.052, allocations: 49.13 MB / 448.4 MB, free: 6.012 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-master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 449.6 MB, free: 4.766 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.262e-05, allocations: 2.875 kB / 449.6 MB, free: 4.762 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002049/0.002072, allocations: 0.7228 MB / 450.4 MB, free: 4.078 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.003813, allocations: 1.148 MB / 451.5 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.354e-05/0.003876, allocations: 0 / 451.5 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.003911, allocations: 3.938 kB / 451.5 MB, free: 2.918 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 5.422e-05/0.003966, allocations: 6.125 kB / 451.5 MB, free: 2.914 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.004209, allocations: 49.67 kB / 451.6 MB, free: 2.867 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.004343, allocations: 76.86 kB / 451.7 MB, free: 2.801 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.647e-05/0.004419, allocations: 8.453 kB / 451.7 MB, free: 2.797 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.00453, allocations: 50.11 kB / 451.7 MB, free: 2.754 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.004593, allocations: 25.81 kB / 451.7 MB, free: 2.73 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.004612, allocations: 8.984 kB / 451.7 MB, free: 2.723 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.004741, allocations: 23.98 kB / 451.8 MB, free: 2.699 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.004766, allocations: 11.27 kB / 451.8 MB, free: 2.691 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.004804, allocations: 14.41 kB / 451.8 MB, free: 2.68 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.005066, allocations: 52.7 kB / 451.8 MB, free: 2.629 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.528e-05/0.005081, allocations: 0 / 451.8 MB, free: 2.629 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.005082, allocations: 0.5938 kB / 451.8 MB, free: 2.629 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.005097, allocations: 0.625 kB / 451.8 MB, free: 2.629 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.0005786/0.005676, allocations: 296.4 kB / 452.1 MB, free: 2.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.005716, allocations: 8.031 kB / 452.1 MB, free: 2.309 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.005877, allocations: 90.03 kB / 452.2 MB, free: 2.203 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.005979, allocations: 121.6 kB / 452.3 MB, free: 2.059 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.006004, allocations: 10.83 kB / 452.4 MB, free: 2.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.006019, allocations: 8.359 kB / 452.4 MB, free: 2.043 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.006165, allocations: 75.86 kB / 452.4 MB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.006173, allocations: 192 / 452.4 MB, free: 1.961 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.006182, allocations: 4.375 kB / 452.4 MB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.006186, allocations: 1.25 kB / 452.4 MB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.717e-05/0.006234, allocations: 19.86 kB / 452.5 MB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.00659, allocations: 177.3 kB / 452.6 MB, free: 1.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.006698, allocations: 43.84 kB / 452.7 MB, free: 1.699 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.959e-05/0.006728, allocations: 20.84 kB / 452.7 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.006749, allocations: 0 / 452.7 MB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001161/0.006865, allocations: 76.12 kB / 452.8 MB, free: 1.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.585e-06/0.006867, allocations: 2.719 kB / 452.8 MB, free: 1.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001673/0.007035, allocations: 81.53 kB / 452.9 MB, free: 1.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.00708, allocations: 55.41 kB / 452.9 MB, free: 1.438 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.007151, allocations: 114.6 kB / 453 MB, free: 1.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.235e-05/0.007174, allocations: 33.7 kB / 453.1 MB, free: 1.273 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.173e-05/0.007215, allocations: 80.94 kB / 453.1 MB, free: 1.188 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.007252, allocations: 31.77 kB / 453.2 MB, free: 1.156 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.007301, allocations: 35 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.577e-05/0.007397, allocations: 318.8 kB / 453.5 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.93e-05/0.007426, allocations: 11.98 kB / 453.5 MB, free: 0.7852 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.007635, allocations: 35.16 kB / 453.6 MB, free: 0.7422 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.606e-05/0.007721, allocations: 67.78 kB / 453.6 MB, free: 0.668 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.007723, allocations: 256 / 453.6 MB, free: 0.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001331/0.007857, allocations: 74.67 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.007872, allocations: 4 kB / 453.7 MB, free: 0.5859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.007881, allocations: 8 kB / 453.7 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.007891, allocations: 4.656 kB / 453.7 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.008018, allocations: 32.83 kB / 453.7 MB, free: 0.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.008022, allocations: 4 kB / 453.8 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.008069, allocations: 15.88 kB / 453.8 MB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.008078, allocations: 0.5938 kB / 453.8 MB, free: 0.5234 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.334e-05/0.008151, allocations: 120.2 kB / 453.9 MB, free: 408 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.00817, allocations: 11.98 kB / 453.9 MB, free: 396 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.008294, allocations: 70.05 kB / 454 MB, free: 316 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.008298, allocations: 4.719 kB / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.008301, allocations: 1.172 kB / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.008305, allocations: 1.438 kB / 454 MB, free: 312 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.008574, allocations: 214.8 kB / 454.2 MB, free: 72 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.008576, allocations: 3.938 kB / 454.2 MB, free: 68 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.008637, allocations: 11.98 kB / 454.2 MB, free: 56 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.008651, allocations: 12.73 kB / 454.2 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.008654, allocations: 0 / 454.2 MB, free: 44 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.008664, allocations: 4.656 kB / 454.2 MB, free: 40 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.008667, allocations: 4 kB / 454.2 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008668, allocations: 4.781 kB / 454.2 MB, free: 32 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.008833, allocations: 159.5 kB / 454.4 MB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.008853, allocations: 8.562 kB / 454.4 MB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/0.008937, allocations: 9.5 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.423e-05/0.008971, allocations: 3.984 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.168e-06/0.00898, allocations: 4 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.155e-05/0.009002, allocations: 16.78 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009002, allocations: 2.094 kB / 454.4 MB, free: 15.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002288/0.009231, allocations: 23.94 kB / 454.4 MB, free: 15.79 MB / 442.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.0001385/0.009369, allocations: 85.02 kB / 454.5 MB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001226/0.009492, allocations: 52.77 kB / 454.6 MB, free: 15.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.0095, allocations: 4.656 kB / 454.6 MB, free: 15.64 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/0.009546, allocations: 29.69 kB / 454.6 MB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001836/0.00973, allocations: 18.89 kB / 454.6 MB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008417/0.01057, allocations: 159 kB / 454.8 MB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.123e-05/0.01061, allocations: 68.45 kB / 454.9 MB, free: 15.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.01065, allocations: 5.75 kB / 454.9 MB, free: 15.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.01072, allocations: 63.36 kB / 454.9 MB, free: 15.27 MB / 442.7 MB Notification: Performance of SimCode: time 7.22e-07/0.01072, allocations: 0.5312 kB / 454.9 MB, free: 15.27 MB / 442.7 MB Notification: Performance of Templates: time 0.003505/0.01422, allocations: 1.146 MB / 456.1 MB, free: 14.21 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.637621066533029]