Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8839/0.8839, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 179.5 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.633/1.633, allocations: 223.2 MB / 447.7 MB, free: 4.828 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 88.31 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001865/0.001866, allocations: 273.1 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004427/0.0004427, allocations: 10.59 kB / 0.6929 GB, free: 59.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2177, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.181/0.3987, allocations: 109.5 MB / 0.8806 GB, free: 260 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003453/0.3992, allocations: 81.98 kB / 0.8807 GB, free: 180 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4271/0.8263, allocations: 4.043 MB / 0.8846 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.214e-06/0.8263, allocations: 0 / 0.8846 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.8264, allocations: 0 / 0.8846 GB, free: 109.3 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004128/0.8268, allocations: 356 kB / 0.885 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.8268, allocations: 12.62 kB / 0.885 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.8269, allocations: 3.406 kB / 0.885 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.827, allocations: 172.1 kB / 0.8852 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.827, allocations: 0.6562 kB / 0.8852 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.8271, allocations: 2.531 kB / 0.8852 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.8272, allocations: 40.61 kB / 0.8852 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8272, allocations: 0 / 0.8852 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.8272, allocations: 5.125 kB / 0.8852 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.8272, allocations: 0 / 0.8852 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.275e-05/0.8273, allocations: 7.031 kB / 0.8852 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001848/0.8275, allocations: 165.5 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.8277, allocations: 50.42 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.8278, allocations: 2.594 kB / 0.8854 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.8278, allocations: 31.12 kB / 0.8855 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.8278, allocations: 0 / 0.8855 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of matching and sorting (n=6): time 0.0007703/0.8286, allocations: 312.2 kB / 0.8858 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.8286, allocations: 52.02 kB / 0.8858 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/0.8287, allocations: 92.7 kB / 0.8859 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.8287, allocations: 25.7 kB / 0.8859 GB, free: 108 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.8288, allocations: 83.11 kB / 0.886 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.8288, allocations: 23.2 kB / 0.886 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-06/0.8288, allocations: 0 / 0.886 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.526e-05/0.8289, allocations: 315.8 kB / 0.8863 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.829, allocations: 15.11 kB / 0.8863 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.48e-05/0.829, allocations: 13.73 kB / 0.8863 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.558e-05/0.829, allocations: 13.62 kB / 0.8864 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.8291, allocations: 2.688 kB / 0.8864 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001133/0.8292, allocations: 64.98 kB / 0.8864 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.985e-05/0.8293, allocations: 10.03 kB / 0.8864 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.8293, allocations: 0.6094 kB / 0.8864 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.8293, allocations: 0 / 0.8864 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.156e-05/0.8294, allocations: 11.83 kB / 0.8864 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.8294, allocations: 6.562 kB / 0.8865 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.208e-05/0.8294, allocations: 4 kB / 0.8865 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.8294, allocations: 7.547 kB / 0.8865 GB, free: 107.5 MB / 0.5417 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 (7): * Single equations (assignments): 7 * 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.824e-05/0.8295, allocations: 118.5 kB / 0.8866 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.8295, allocations: 10.86 kB / 0.8866 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.8297, allocations: 76.47 kB / 0.8867 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.8297, allocations: 0 / 0.8867 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.8297, allocations: 0 / 0.8867 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.8298, allocations: 0 / 0.8867 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.8301, allocations: 320.7 kB / 0.887 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.8301, allocations: 0 / 0.887 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.549e-05/0.8302, allocations: 10.59 kB / 0.887 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.8302, allocations: 2.875 kB / 0.887 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.8302, allocations: 0 / 0.887 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.8302, allocations: 0.6094 kB / 0.887 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.8302, allocations: 2.875 kB / 0.887 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000205/0.8305, allocations: 198.2 kB / 0.8872 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.8305, allocations: 83.45 kB / 0.8872 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.8305, allocations: 3.359 kB / 0.8873 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.8306, allocations: 0 / 0.8873 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.052e-05/0.8306, allocations: 4.938 kB / 0.8873 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.8307, allocations: 5.656 kB / 0.8873 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.8307, allocations: 80.39 kB / 0.8873 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8307, allocations: 4.062 kB / 0.8873 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000312/0.831, allocations: 26.78 kB / 0.8874 GB, free: 106.7 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002372/0.8313, allocations: 131.4 kB / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.8314, allocations: 32.48 kB / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.8314, allocations: 0 / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.8314, allocations: 24.62 kB / 0.8875 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.8316, allocations: 5.812 kB / 0.8876 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005012/0.8321, allocations: 218.8 kB / 0.8878 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.8323, allocations: 0.6881 MB / 0.8884 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.006e-05/0.8324, allocations: 7.594 kB / 0.8884 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.8324, allocations: 10.72 kB / 0.8885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.8324, allocations: 0 / 0.8885 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of Templates: time 0.003507/0.8359, allocations: 0.5666 MB / 0.889 GB, free: 105.7 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)