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_dp_DerivativeCheck2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.135/2.135, allocations: 251.3 MB / 266.2 MB, free: 11.53 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.00132/0.00132, allocations: 169.2 kB / 325.8 MB, free: 2.789 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.463/2.463, allocations: 205.4 MB / 0.5767 GB, free: 20.71 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.0009313/0.0009305, allocations: 98.94 kB / 0.6813 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004631/0.0004632, allocations: 13.06 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.199, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001404/0.2005, allocations: 1.011 MB / 0.9 GB, free: 64.37 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.2016, allocations: 0.5661 MB / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.669e-05/0.2017, allocations: 0 / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.781e-05/0.2017, allocations: 0 / 0.9006 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.999e-05/0.2017, allocations: 11.94 kB / 0.9006 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.2024, allocations: 123.6 kB / 0.9007 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.106e-05/0.2024, allocations: 23.92 kB / 0.9007 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.2025, allocations: 4 kB / 0.9007 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.62e-05/0.2025, allocations: 11.94 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.2026, allocations: 19.91 kB / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.2026, allocations: 0 / 0.9008 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006313/0.2033, allocations: 327.4 kB / 0.9011 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.397e-05/0.2033, allocations: 19.92 kB / 0.9011 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.2033, allocations: 29.7 kB / 0.9011 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002238/0.2036, allocations: 100.1 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2036, allocations: 0 / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2036, allocations: 3.938 kB / 0.9012 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2036, allocations: 0 / 0.9012 GB, free: 63.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003911/0.204, allocations: 359.4 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.204, allocations: 8.031 kB / 0.9016 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.2041, allocations: 4.938 kB / 0.9016 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.688e-05/0.2042, allocations: 168.4 kB / 0.9017 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.2042, allocations: 8.312 kB / 0.9018 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.2043, allocations: 4.375 kB / 0.9018 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.2044, allocations: 58.17 kB / 0.9018 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2044, allocations: 4.094 kB / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.2045, allocations: 3.938 kB / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2045, allocations: 0 / 0.9018 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.386e-05/0.2045, allocations: 19.98 kB / 0.9018 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.2047, allocations: 161.7 kB / 0.902 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.2049, allocations: 62.55 kB / 0.9021 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.205, allocations: 32.8 kB / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.205, allocations: 0 / 0.9021 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.205, allocations: 34.55 kB / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.2051, allocations: 0 / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.00139/0.2065, allocations: 0.5879 MB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2065, allocations: 55.39 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.007e-05/0.2066, allocations: 93.86 kB / 0.9028 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.2066, allocations: 29.7 kB / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.2067, allocations: 88 kB / 0.9029 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.2067, allocations: 39.58 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.2067, allocations: 4 kB / 0.903 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.037e-05/0.2068, allocations: 310.8 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.007e-05/0.2069, allocations: 23.98 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.745e-05/0.2069, allocations: 19.98 kB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.378e-05/0.207, allocations: 34.25 kB / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.207, allocations: 0 / 0.9034 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002011/0.2072, allocations: 97.47 kB / 0.9035 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2073, allocations: 4 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2073, allocations: 4 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2073, allocations: 4 kB / 0.9035 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.2075, allocations: 23.98 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2075, allocations: 96 / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.2076, allocations: 7.875 kB / 0.9035 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.266e-05/0.2076, allocations: 4 kB / 0.9035 GB, free: 60.51 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.656e-05/0.2077, allocations: 117.8 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.2077, allocations: 7.938 kB / 0.9036 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.208, allocations: 109.5 kB / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.208, allocations: 3.984 kB / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.208, allocations: 0 / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.208, allocations: 0 / 0.9037 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.2084, allocations: 358.4 kB / 0.9041 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2085, allocations: 4 kB / 0.9041 GB, free: 59.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.2087, allocations: 19.98 kB / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.2087, allocations: 0 / 0.9041 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2087, allocations: 8 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2087, allocations: 0 / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2087, allocations: 4 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.209, allocations: 223.3 kB / 0.9043 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.491e-05/0.2091, allocations: 81.14 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2091, allocations: 0 / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.2092, allocations: 4 kB / 0.9044 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.2093, allocations: 7.984 kB / 0.9044 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.2093, allocations: 4 kB / 0.9044 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.576e-05/0.2093, allocations: 83.34 kB / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2093, allocations: 0 / 0.9045 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003438/0.2097, allocations: 39.94 kB / 0.9045 GB, free: 59.35 MB / 0.6042 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 (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.0002341/0.2099, allocations: 127.2 kB / 0.9046 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001942/0.2102, allocations: 68.3 kB / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2102, allocations: 0 / 0.9047 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.17e-05/0.2102, allocations: 35.86 kB / 0.9047 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.2105, allocations: 16.84 kB / 0.9048 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.2112, allocations: 340.4 kB / 0.9051 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001392/0.2114, allocations: 0.6848 MB / 0.9058 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.641e-05/0.2115, allocations: 15.94 kB / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.205e-05/0.2115, allocations: 15.38 kB / 0.9058 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of SimCode: time 1.412e-06/0.2115, allocations: 0 / 0.9058 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of Templates: time 0.004033/0.2156, allocations: 0.8848 MB / 0.9066 GB, free: 57.14 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)