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.RealExtractor.conf.json 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.RealExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.321/2.321, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001539/0.001539, allocations: 182.5 kB / 325.6 MB, free: 2.828 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.474/2.474, allocations: 205.4 MB / 0.5766 GB, free: 20.71 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.001141/0.001141, allocations: 104 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006975/0.0006978, allocations: 13.09 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2402, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002413/0.2427, allocations: 1.323 MB / 0.9002 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01304/0.2558, allocations: 261 kB / 0.9004 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2559, allocations: 3.938 kB / 0.9004 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001212/0.2561, allocations: 15.86 kB / 0.9004 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.2562, allocations: 31.88 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003324/0.2566, allocations: 47.94 kB / 0.9005 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003001/0.2569, allocations: 139.8 kB / 0.9007 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002101/0.2571, allocations: 41.73 kB / 0.9007 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.2573, allocations: 87.72 kB / 0.9008 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.2575, allocations: 103.6 kB / 0.9009 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.097e-05/0.2576, allocations: 8 kB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.2577, allocations: 12 kB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-05/0.2578, allocations: 51.81 kB / 0.9009 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.811e-05/0.2579, allocations: 49.64 kB / 0.901 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.2582, allocations: 171.6 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2582, allocations: 4 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.128e-06/0.2582, allocations: 3.938 kB / 0.9012 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.2582, allocations: 3.938 kB / 0.9012 GB, free: 63.1 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.002103/0.2604, allocations: 0.5384 MB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.2604, allocations: 15.97 kB / 0.9017 GB, free: 62.5 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.2606, allocations: 27.66 kB / 0.9017 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.261, allocations: 234.7 kB / 0.902 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.545e-05/0.261, allocations: 16 kB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-05/0.2611, allocations: 16 kB / 0.902 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.2629, allocations: 301.4 kB / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.2773, allocations: 0 / 0.9023 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.917e-05/0.2775, allocations: 11.98 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.2775, allocations: 4 kB / 0.9023 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.2798, allocations: 351.5 kB / 0.9026 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.2824, allocations: 0.6987 MB / 0.9033 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.013/0.2954, allocations: 308.4 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.2955, allocations: 7.984 kB / 0.9036 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001377/0.2969, allocations: 304.9 kB / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=27): time 3.747e-06/0.2969, allocations: 0 / 0.9039 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=27): time 0.01389/0.3108, allocations: 0.6882 MB / 0.9046 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.818e-05/0.3109, allocations: 63.39 kB / 0.9046 GB, free: 59.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.3112, allocations: 182.2 kB / 0.9048 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.985e-05/0.3113, allocations: 37.7 kB / 0.9048 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.3114, allocations: 132.5 kB / 0.905 GB, free: 59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.3115, allocations: 75.03 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.053e-05/0.3116, allocations: 4 kB / 0.905 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/0.3117, allocations: 334.8 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.313, allocations: 191.9 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/0.3142, allocations: 193 kB / 0.9057 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006495/0.3208, allocations: 196.2 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/0.3208, allocations: 0 / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00353/0.3244, allocations: 461 kB / 0.9064 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.3245, allocations: 9.25 kB / 0.9064 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3245, allocations: 0 / 0.9064 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.3246, allocations: 4 kB / 0.9064 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.3259, allocations: 91.86 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.3259, allocations: 4 kB / 0.9065 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009266/0.3269, allocations: 71.69 kB / 0.9065 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.327, allocations: 12 kB / 0.9065 GB, free: 57.38 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.extIndSig.index,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,$PRE.pul1.T_start,pul1.T_start,$PRE.pul1.count,pul1.count,$PRE.extIndSig1.index,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0003115/0.3273, allocations: 155.5 kB / 0.9067 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.66e-05/0.3274, allocations: 19.8 kB / 0.9067 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.37e-05/0.3275, allocations: 30.55 kB / 0.9067 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3276, allocations: 7.938 kB / 0.9067 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.3276, allocations: 0 / 0.9067 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.3276, allocations: 3.984 kB / 0.9068 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004009/0.3316, allocations: 0.8669 MB / 0.9076 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.3317, allocations: 4 kB / 0.9076 GB, free: 56.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008929/0.3326, allocations: 63.88 kB / 0.9077 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.187e-05/0.3327, allocations: 0 / 0.9077 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.698e-05/0.3328, allocations: 12 kB / 0.9077 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.3328, allocations: 0 / 0.9077 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3328, allocations: 0 / 0.9077 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003675/0.3365, allocations: 0.6094 MB / 0.9083 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3367, allocations: 96.86 kB / 0.9084 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.3368, allocations: 4 kB / 0.9084 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000906/0.3377, allocations: 59.92 kB / 0.9084 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/0.338, allocations: 47.88 kB / 0.9085 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.3381, allocations: 11.98 kB / 0.9085 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002034/0.3384, allocations: 143.3 kB / 0.9086 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.11e-07/0.3384, allocations: 0 / 0.9086 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007519/0.3391, allocations: 63.84 kB / 0.9087 GB, free: 55.1 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,extIndSig.index,extIndSig.k[1],extIndSig.k[2],extIndSig.k[3],extIndSig.k[4],extIndSig.k[5],pul.T_start,pul.count,pul1.T_start,pul1.count,extIndSig1.index,extIndSig1.k[1],extIndSig1.k[2],extIndSig1.k[3],extIndSig1.k[4],extIndSig1.k[5]) * Number of discrete states: 4 (pul1.count,pul.count,extIndSig.index,extIndSig1.index) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0002402/0.3394, allocations: 111 kB / 0.9088 GB, free: 54.98 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003567/0.343, allocations: 447.5 kB / 0.9092 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.3431, allocations: 0 / 0.9092 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.3449, allocations: 243.7 kB / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006962/0.3456, allocations: 30.39 kB / 0.9095 GB, free: 54.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.348, allocations: 496.7 kB / 0.9099 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.3484, allocations: 0.752 MB / 0.9107 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004045/0.3488, allocations: 29.94 kB / 0.9107 GB, free: 52.95 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.3491, allocations: 23.42 kB / 0.9107 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of SimCode: time 1.533e-06/0.3491, allocations: 0 / 0.9107 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of Templates: time 0.01353/0.3627, allocations: 2.765 MB / 0.9134 GB, free: 50.18 MB / 0.6042 GB