Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.276/2.276, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.002227/0.002227, allocations: 181.4 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.682/2.682, allocations: 205.4 MB / 0.5766 GB, free: 20.72 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.001167/0.001167, allocations: 100.3 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004714, allocations: 11.97 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2498, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001766/0.2517, allocations: 1.179 MB / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007428/0.2524, allocations: 340 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.073e-05/0.2525, allocations: 0 / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.516e-05/0.2526, allocations: 3.938 kB / 0.9004 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.783e-05/0.2527, allocations: 11.97 kB / 0.9004 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009975/0.2537, allocations: 79.7 kB / 0.9005 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.254, allocations: 31.97 kB / 0.9005 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.2541, allocations: 4 kB / 0.9005 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001675/0.2544, allocations: 23.91 kB / 0.9005 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001342/0.2545, allocations: 19.92 kB / 0.9005 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.2546, allocations: 4 kB / 0.9005 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006315/0.2552, allocations: 183.6 kB / 0.9007 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.722e-05/0.2553, allocations: 15.92 kB / 0.9007 GB, free: 63.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.2554, allocations: 33.7 kB / 0.9008 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.2556, allocations: 72.12 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2556, allocations: 0 / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2556, allocations: 4 kB / 0.9008 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2556, allocations: 0 / 0.9008 GB, free: 63.46 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000686/0.2563, allocations: 367.2 kB / 0.9012 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2564, allocations: 12.03 kB / 0.9012 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.903e-05/0.2564, allocations: 7.906 kB / 0.9012 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.2565, allocations: 174.9 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.441e-05/0.2566, allocations: 12 kB / 0.9014 GB, free: 62.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2566, allocations: 4 kB / 0.9014 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.257, allocations: 85.64 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.257, allocations: 0 / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.257, allocations: 4 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.257, allocations: 4 kB / 0.9015 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004123/0.2575, allocations: 63.89 kB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.2582, allocations: 324.6 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004794/0.2587, allocations: 90.53 kB / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.2588, allocations: 0 / 0.9019 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.2588, allocations: 38.5 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.973e-06/0.2589, allocations: 4 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.002441/0.2613, allocations: 0.6735 MB / 0.9026 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.2614, allocations: 51.5 kB / 0.9027 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.2615, allocations: 113.8 kB / 0.9028 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.2615, allocations: 29.7 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.2615, allocations: 84.08 kB / 0.9029 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.2616, allocations: 35.45 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.2616, allocations: 8 kB / 0.9029 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.034e-05/0.2617, allocations: 314.8 kB / 0.9032 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.2619, allocations: 31.97 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.2622, allocations: 46.09 kB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002311/0.2624, allocations: 35.94 kB / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2624, allocations: 0 / 0.9033 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005564/0.263, allocations: 133.6 kB / 0.9035 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.263, allocations: 11.94 kB / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.263, allocations: 0 / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.2631, allocations: 0 / 0.9035 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.2633, allocations: 27.98 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2634, allocations: 0 / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.2635, allocations: 8 kB / 0.9035 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.588e-05/0.2635, allocations: 4 kB / 0.9035 GB, free: 60.4 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001037/0.2636, allocations: 125.8 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.2637, allocations: 7.906 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006081/0.2643, allocations: 129.6 kB / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2643, allocations: 192 / 0.9038 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2644, allocations: 4 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.2644, allocations: 7.969 kB / 0.9038 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008065/0.2652, allocations: 390.4 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2652, allocations: 0 / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.2655, allocations: 31.94 kB / 0.9042 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.2655, allocations: 8 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.2656, allocations: 3.984 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2656, allocations: 0 / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2656, allocations: 0 / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008448/0.2664, allocations: 271.3 kB / 0.9045 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.2665, allocations: 81.05 kB / 0.9045 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.2665, allocations: 7.984 kB / 0.9045 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.2668, allocations: 11.98 kB / 0.9046 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.468e-05/0.2668, allocations: 4 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.621e-05/0.2668, allocations: 4 kB / 0.9046 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.915e-05/0.2669, allocations: 91.33 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2669, allocations: 0 / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000366/0.2672, allocations: 31.94 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.00026/0.2675, allocations: 140.6 kB / 0.9048 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005387/0.2681, allocations: 94.7 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2681, allocations: 4 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002367/0.2683, allocations: 48.41 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.2686, allocations: 4.219 kB / 0.905 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/0.2695, allocations: 385.1 kB / 0.9053 GB, free: 58.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.2697, allocations: 0.6965 MB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001041/0.2698, allocations: 8.672 kB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.2699, allocations: 15.44 kB / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/0.2699, allocations: 0 / 0.906 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of Templates: time 0.0072/0.2771, allocations: 1.066 MB / 0.9071 GB, free: 56.63 MB / 0.6042 GB