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.00148/0.00148, allocations: 109.4 kB / 15.69 MB, free: 128 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.001741/0.001741, allocations: 186.2 kB / 16.62 MB, free: 6.613 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.484/1.484, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.803/1.803, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.002317/0.002317, allocations: 70.94 kB / 0.6718 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2222, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00249/0.2247, allocations: 1.282 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009229/0.2256, allocations: 0.6149 MB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.2257, allocations: 0 / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.738e-05/0.2257, allocations: 3.938 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.523e-05/0.2257, allocations: 3.938 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005384/0.2263, allocations: 162.4 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.916e-05/0.2263, allocations: 27.92 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.2264, allocations: 8 kB / 0.7857 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.545e-05/0.2264, allocations: 8 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.229e-05/0.2265, allocations: 15.91 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.2265, allocations: 4 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004577/0.227, allocations: 339.3 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.555e-05/0.227, allocations: 11.98 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.816e-05/0.227, allocations: 15.92 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.2273, allocations: 155.8 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2273, allocations: 0 / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.665e-06/0.2273, allocations: 4 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.727e-06/0.2273, allocations: 3.938 kB / 0.7862 GB, free: 10.59 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.0003732/0.2277, allocations: 367.4 kB / 0.7866 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2277, allocations: 8.031 kB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.999e-05/0.2278, allocations: 38.75 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.549e-05/0.2278, allocations: 0.9375 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.759e-05/0.2279, allocations: 168.3 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2279, allocations: 384 / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.2279, allocations: 8.375 kB / 0.7868 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.2281, allocations: 54.23 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2281, allocations: 3.938 kB / 0.7868 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2281, allocations: 7.938 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2281, allocations: 0 / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.856e-05/0.2282, allocations: 19.98 kB / 0.7869 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.2283, allocations: 161.6 kB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.2284, allocations: 58.56 kB / 0.7871 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.2285, allocations: 28.84 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.2285, allocations: 7.938 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.2285, allocations: 38.5 kB / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.2285, allocations: 0 / 0.7871 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001046/0.2296, allocations: 0.5918 MB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.2296, allocations: 51.41 kB / 0.7878 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.861e-05/0.2297, allocations: 97.84 kB / 0.7879 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.2297, allocations: 29.7 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.799e-05/0.2297, allocations: 84.14 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.2298, allocations: 35.45 kB / 0.788 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.2298, allocations: 25.72 kB / 0.788 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.2299, allocations: 319 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.818e-05/0.23, allocations: 20 kB / 0.7884 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.667e-05/0.23, allocations: 23.98 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.677e-05/0.2301, allocations: 56.86 kB / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.2301, allocations: 0 / 0.7884 GB, free: 8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001425/0.2303, allocations: 105.5 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.2303, allocations: 4 kB / 0.7885 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2303, allocations: 7.922 kB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2303, allocations: 4 kB / 0.7885 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.2304, allocations: 19.98 kB / 0.7886 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2304, allocations: 4 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.2305, allocations: 0 / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2305, allocations: 8 kB / 0.7886 GB, free: 7.844 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 7.165e-05/0.2305, allocations: 118.4 kB / 0.7887 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.2306, allocations: 11.94 kB / 0.7887 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/0.2308, allocations: 93.73 kB / 0.7888 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2308, allocations: 7.922 kB / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2308, allocations: 0 / 0.7888 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.2308, allocations: 4 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.2311, allocations: 366.5 kB / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2312, allocations: 0 / 0.7892 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001018/0.2313, allocations: 24 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2313, allocations: 0 / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.2313, allocations: 3.984 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.2313, allocations: 0 / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2313, allocations: 0 / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.2315, allocations: 226.8 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.298e-05/0.2316, allocations: 81.02 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2316, allocations: 4.031 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.498e-05/0.2317, allocations: 7.984 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.2317, allocations: 4 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.815e-06/0.2317, allocations: 4 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.878e-05/0.2318, allocations: 75.28 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2318, allocations: 0 / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002694/0.232, allocations: 39.98 kB / 0.7896 GB, free: 6.688 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.0005708/0.2326, allocations: 0.7905 MB / 0.7904 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001355/0.2328, allocations: 51.98 kB / 0.7904 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2328, allocations: 0 / 0.7904 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.749e-05/0.2328, allocations: 39.92 kB / 0.7905 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.2331, allocations: 8 kB / 0.7905 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2345, allocations: 1.511 MB / 0.7919 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2348, allocations: 0.6846 MB / 0.7926 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.407e-05/0.2348, allocations: 7.984 kB / 0.7926 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.2349, allocations: 23.44 kB / 0.7926 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2349, allocations: 0 / 0.7926 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.2522, allocations: 2.048 MB / 0.7946 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.506/7.758, allocations: 11.86 kB / 0.7947 GB, free: 1.559 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)