Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.475/2.475, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 175.8 kB / 325.8 MB, free: 2.793 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.554/2.554, allocations: 205.4 MB / 0.5767 GB, free: 21.1 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001374/0.001373, allocations: 86.31 kB / 0.6812 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006857/0.000686, allocations: 12.09 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2991, allocations: 106.3 MB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.002605/0.3017, allocations: 1.256 MB / 0.9003 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000783/0.3026, allocations: 217.3 kB / 0.9005 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.79e-05/0.3027, allocations: 4 kB / 0.9005 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.3028, allocations: 11.88 kB / 0.9005 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.303, allocations: 19.84 kB / 0.9005 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.3033, allocations: 39.89 kB / 0.9005 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.3036, allocations: 147.5 kB / 0.9007 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.3038, allocations: 33.38 kB / 0.9007 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.304, allocations: 59.81 kB / 0.9008 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3042, allocations: 67.73 kB / 0.9008 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.267e-05/0.3042, allocations: 4 kB / 0.9008 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.277e-05/0.3043, allocations: 8 kB / 0.9009 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.041e-05/0.3044, allocations: 31.84 kB / 0.9009 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.625e-05/0.3045, allocations: 41.64 kB / 0.9009 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.3047, allocations: 115.7 kB / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.3047, allocations: 0 / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.424e-06/0.3047, allocations: 0 / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.3048, allocations: 0 / 0.901 GB, free: 63.82 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001892/0.3067, allocations: 0.491 MB / 0.9015 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.3067, allocations: 12.03 kB / 0.9015 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.991e-05/0.3068, allocations: 20.75 kB / 0.9015 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.3072, allocations: 208.1 kB / 0.9017 GB, free: 63 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3072, allocations: 12.38 kB / 0.9018 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.3073, allocations: 16.31 kB / 0.9018 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.3086, allocations: 239.3 kB / 0.902 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.3087, allocations: 192 / 0.902 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.3087, allocations: 15.94 kB / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3087, allocations: 0 / 0.902 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.3109, allocations: 247.7 kB / 0.9022 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002602/0.3135, allocations: 0.8136 MB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.3153, allocations: 264.9 kB / 0.9033 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.3164, allocations: 148.3 kB / 0.9034 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.3165, allocations: 3.938 kB / 0.9034 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001305/0.3178, allocations: 239.4 kB / 0.9037 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=11): time 4.508e-06/0.3179, allocations: 0 / 0.9037 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.003276/0.3211, allocations: 429.4 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.797e-05/0.3213, allocations: 166.1 kB / 0.9042 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.3216, allocations: 174.8 kB / 0.9044 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/0.3216, allocations: 37.69 kB / 0.9044 GB, free: 60 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3217, allocations: 112 kB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.981e-05/0.3218, allocations: 31.56 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.3219, allocations: 4 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.322, allocations: 330.8 kB / 0.9049 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.3231, allocations: 131.8 kB / 0.905 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.3242, allocations: 164.2 kB / 0.9052 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.3252, allocations: 131.9 kB / 0.9053 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.3253, allocations: 4 kB / 0.9053 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002289/0.3276, allocations: 329.2 kB / 0.9056 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.3276, allocations: 8 kB / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3277, allocations: 0 / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.3277, allocations: 0 / 0.9056 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007092/0.3284, allocations: 67.97 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.3285, allocations: 7.875 kB / 0.9057 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/0.3292, allocations: 63.8 kB / 0.9058 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.977e-05/0.3292, allocations: 4 kB / 0.9058 GB, free: 58.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$whenCondition1,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002271/0.3295, allocations: 133.2 kB / 0.9059 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/0.3296, allocations: 7.906 kB / 0.9059 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.5e-05/0.3297, allocations: 28.92 kB / 0.9059 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3297, allocations: 4 kB / 0.9059 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.3297, allocations: 7.875 kB / 0.9059 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.3297, allocations: 4 kB / 0.9059 GB, free: 58.42 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003722/0.3301, allocations: 229.5 kB / 0.9062 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.3301, allocations: 0 / 0.9062 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.3307, allocations: 63.89 kB / 0.9062 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.3307, allocations: 0 / 0.9062 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.3308, allocations: 4 kB / 0.9062 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.3308, allocations: 0 / 0.9062 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.3308, allocations: 7.922 kB / 0.9062 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.333, allocations: 348.7 kB / 0.9066 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.025e-05/0.3331, allocations: 96.89 kB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.3332, allocations: 4 kB / 0.9067 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.3339, allocations: 51.95 kB / 0.9067 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/0.3341, allocations: 35.88 kB / 0.9067 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.3341, allocations: 12 kB / 0.9068 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001702/0.3343, allocations: 123.2 kB / 0.9069 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.774e-06/0.3344, allocations: 4 kB / 0.9069 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005726/0.3349, allocations: 39.88 kB / 0.9069 GB, free: 57.32 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,pul.T_start,pul.count,$whenCondition1,pul1.T_start,pul1.count) * Number of discrete states: 2 (pul1.count,pul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001746/0.3351, allocations: 105.2 kB / 0.907 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002276/0.3374, allocations: 287.8 kB / 0.9073 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.3375, allocations: 0 / 0.9073 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.3388, allocations: 160.1 kB / 0.9074 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006753/0.3395, allocations: 27.89 kB / 0.9075 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.3408, allocations: 327.5 kB / 0.9078 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.3411, allocations: 0.716 MB / 0.9085 GB, free: 55.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002443/0.3413, allocations: 28.62 kB / 0.9085 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.3415, allocations: 11.44 kB / 0.9085 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of SimCode: time 1.313e-06/0.3415, allocations: 0 / 0.9085 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.008583/0.3501, allocations: 1.803 MB / 0.9103 GB, free: 53.82 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1)