Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 179.3 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009492/0.0009492, allocations: 95.98 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003575, allocations: 9.812 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2663, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002426/0.2688, allocations: 1.187 MB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007118/0.2696, allocations: 340 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.2697, allocations: 0 / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.2697, allocations: 3.938 kB / 0.9016 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.613e-05/0.2698, allocations: 11.97 kB / 0.9017 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.2703, allocations: 75.77 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.2704, allocations: 31.7 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.2705, allocations: 4 kB / 0.9018 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.037e-05/0.2706, allocations: 23.92 kB / 0.9018 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.2706, allocations: 27.91 kB / 0.9018 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.2706, allocations: 4 kB / 0.9018 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002538/0.2709, allocations: 179.7 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.2709, allocations: 19.91 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.271, allocations: 33.7 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.2712, allocations: 68.12 kB / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2712, allocations: 0 / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.2712, allocations: 0 / 0.9021 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.2712, allocations: 0 / 0.9021 GB, free: 61.81 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.000566/0.2718, allocations: 379.2 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.2718, allocations: 8.031 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.2719, allocations: 34.56 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.2719, allocations: 4 kB / 0.9025 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.272, allocations: 182.9 kB / 0.9027 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.2721, allocations: 11.94 kB / 0.9027 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.2721, allocations: 7.906 kB / 0.9027 GB, free: 61.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.2724, allocations: 81.66 kB / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.2724, allocations: 0 / 0.9028 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.2724, allocations: 4 kB / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.2724, allocations: 0 / 0.9028 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.2727, allocations: 55.95 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.2732, allocations: 336.6 kB / 0.9032 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.2735, allocations: 86.53 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/0.2736, allocations: 7.938 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2736, allocations: 34.5 kB / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.2736, allocations: 0 / 0.9033 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001611/0.2752, allocations: 0.6736 MB / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.2752, allocations: 51.41 kB / 0.904 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.2753, allocations: 101.8 kB / 0.9041 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.2753, allocations: 29.7 kB / 0.9041 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.755e-05/0.2754, allocations: 96.02 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.2754, allocations: 39.36 kB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-06/0.2754, allocations: 4 kB / 0.9042 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.104e-05/0.2755, allocations: 318.8 kB / 0.9045 GB, free: 59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.2756, allocations: 31.98 kB / 0.9046 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.2757, allocations: 40.09 kB / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.2759, allocations: 41.86 kB / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2759, allocations: 0 / 0.9047 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000297/0.2762, allocations: 121.6 kB / 0.9048 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.2762, allocations: 8 kB / 0.9048 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2762, allocations: 7.953 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.2763, allocations: 0 / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.2764, allocations: 27.98 kB / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.2764, allocations: 0 / 0.9048 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.2765, allocations: 7.984 kB / 0.9048 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2765, allocations: 8 kB / 0.9048 GB, free: 58.71 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 7.27e-05/0.2766, allocations: 119 kB / 0.9049 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.812e-05/0.2766, allocations: 7.906 kB / 0.905 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.277, allocations: 137.5 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.277, allocations: 4.141 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.277, allocations: 0 / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.277, allocations: 3.984 kB / 0.9051 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004824/0.2775, allocations: 394.5 kB / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.2775, allocations: 4.078 kB / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.2777, allocations: 27.92 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2777, allocations: 3.953 kB / 0.9055 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.2777, allocations: 8 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2777, allocations: 4 kB / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2777, allocations: 0 / 0.9055 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.2782, allocations: 267.5 kB / 0.9058 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.438e-05/0.2782, allocations: 85.08 kB / 0.9058 GB, free: 57.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.906e-05/0.2782, allocations: 3.953 kB / 0.9059 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2783, allocations: 12.02 kB / 0.9059 GB, free: 57.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.2784, allocations: 11.98 kB / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2784, allocations: 4 kB / 0.9059 GB, free: 57.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.616e-05/0.2784, allocations: 75.28 kB / 0.906 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2784, allocations: 4 kB / 0.906 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002613/0.2787, allocations: 39.94 kB / 0.906 GB, free: 57.41 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.0007513/0.2795, allocations: 0.8256 MB / 0.9068 GB, free: 56.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.2798, allocations: 82.7 kB / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2798, allocations: 0 / 0.9069 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.2799, allocations: 55.84 kB / 0.9069 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.2802, allocations: 19.06 kB / 0.907 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.2815, allocations: 0.7398 MB / 0.9077 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.2817, allocations: 0.7043 MB / 0.9084 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.571e-05/0.2818, allocations: 8.672 kB / 0.9084 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.015e-05/0.2818, allocations: 23.42 kB / 0.9084 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of SimCode: time 5.61e-07/0.2818, allocations: 3.938 kB / 0.9084 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01501/0.2968, allocations: 2.06 MB / 0.9104 GB, free: 53.01 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/0.297, allocations: 234.3 kB / 0.9106 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/1.868, allocations: 2.391 kB / 0.9106 GB, free: 52.77 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)