Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 196.6 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 222.4 MB, free: 4.613 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.701/1.701, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001498, allocations: 70.73 kB / 0.6716 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.2355, allocations: 114.5 MB / 0.7835 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002326/0.2379, allocations: 1.276 MB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001013/0.2389, allocations: 0.6111 MB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.2389, allocations: 0 / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.239, allocations: 3.938 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.239, allocations: 11.92 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.2395, allocations: 147.4 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.339e-05/0.2396, allocations: 31.86 kB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.209e-05/0.2396, allocations: 8 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.2397, allocations: 15.98 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.2397, allocations: 15.92 kB / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.2397, allocations: 0 / 0.7855 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004848/0.2402, allocations: 347.3 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.2403, allocations: 3.984 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.612e-05/0.2403, allocations: 15.94 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.2405, allocations: 155.8 kB / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.2406, allocations: 0 / 0.786 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2406, allocations: 8 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.2406, allocations: 0 / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004166/0.241, allocations: 367.3 kB / 0.7864 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.241, allocations: 12.03 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.146e-05/0.2411, allocations: 30.75 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.731e-05/0.2411, allocations: 4.938 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.2412, allocations: 164.3 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.2413, allocations: 8.375 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.2413, allocations: 4.312 kB / 0.7866 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.2414, allocations: 58.23 kB / 0.7867 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2414, allocations: 7.875 kB / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.2414, allocations: 0 / 0.7867 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2414, allocations: 4 kB / 0.7867 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.618e-05/0.2415, allocations: 15.98 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.2417, allocations: 165.6 kB / 0.7869 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.96e-05/0.2418, allocations: 66.55 kB / 0.7869 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.492e-05/0.2418, allocations: 32.84 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.2419, allocations: 240 / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.2419, allocations: 38.5 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.41e-07/0.2419, allocations: 0 / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001182/0.2431, allocations: 0.5848 MB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.2431, allocations: 55.41 kB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.2432, allocations: 93.84 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.2432, allocations: 33.7 kB / 0.7877 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.479e-05/0.2433, allocations: 80.14 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.2433, allocations: 39.44 kB / 0.7878 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.2434, allocations: 25.72 kB / 0.7879 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2435, allocations: 327 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.2435, allocations: 16 kB / 0.7882 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.079e-05/0.2436, allocations: 27.23 kB / 0.7882 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.948e-05/0.2437, allocations: 52.86 kB / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2437, allocations: 0 / 0.7883 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001398/0.2438, allocations: 105.5 kB / 0.7884 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2438, allocations: 8 kB / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2439, allocations: 0 / 0.7884 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.2439, allocations: 3.938 kB / 0.7884 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001007/0.244, allocations: 19.98 kB / 0.7884 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.244, allocations: 8 kB / 0.7884 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.553e-05/0.244, allocations: 4.094 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.2441, allocations: 7.938 kB / 0.7884 GB, free: 7.934 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.939e-05/0.2441, allocations: 114.4 kB / 0.7885 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.2442, allocations: 7.938 kB / 0.7885 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.2443, allocations: 105.7 kB / 0.7886 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.227e-06/0.2444, allocations: 4 kB / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2444, allocations: 0 / 0.7886 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2444, allocations: 4 kB / 0.7887 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003971/0.2448, allocations: 358.4 kB / 0.789 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2448, allocations: 4 kB / 0.789 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.2449, allocations: 16 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2449, allocations: 0 / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2449, allocations: 3.984 kB / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2449, allocations: 8 kB / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2449, allocations: 0 / 0.789 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.2452, allocations: 219.3 kB / 0.7892 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.177e-05/0.2453, allocations: 85.05 kB / 0.7893 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.685e-05/0.2453, allocations: 4 kB / 0.7893 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.2454, allocations: 3.984 kB / 0.7893 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.2454, allocations: 4 kB / 0.7893 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.2454, allocations: 4 kB / 0.7893 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.824e-05/0.2455, allocations: 87.27 kB / 0.7894 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2455, allocations: 0 / 0.7894 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002682/0.2457, allocations: 40.16 kB / 0.7895 GB, free: 6.773 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 (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.0006128/0.2464, allocations: 0.7787 MB / 0.7902 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001639/0.2465, allocations: 71.91 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2465, allocations: 0 / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.529e-05/0.2466, allocations: 28 kB / 0.7903 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.2468, allocations: 10.91 kB / 0.7903 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2483, allocations: 1.508 MB / 0.7918 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2486, allocations: 0.6846 MB / 0.7925 GB, free: 3.57 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.385e-05/0.2486, allocations: 23.89 kB / 0.7925 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/0.2487, allocations: 19.44 kB / 0.7925 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2487, allocations: 0 / 0.7925 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.2711, allocations: 2.02 MB / 0.7945 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.185/7.456, allocations: 12.47 kB / 0.7945 GB, free: 1.656 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)