Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.98/1.98, allocations: 288.2 MB / 303.2 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001322/0.001322, allocations: 191.4 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.4 MB / 0.6305 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008501/0.0008501, allocations: 97.47 kB / 0.7439 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 11.72 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1845, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6491/0.8336, allocations: 138.9 MB / 1.115 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001742/0.8338, allocations: 82.64 kB / 1.115 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.8453, allocations: 4.492 MB / 1.12 GB, free: 31.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.806e-06/0.8454, allocations: 0 / 1.12 GB, free: 31.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.433e-06/0.8454, allocations: 3.906 kB / 1.12 GB, free: 31.81 MB / 0.698 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.0003047/0.8457, allocations: 353.2 kB / 1.12 GB, free: 31.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.8457, allocations: 11.73 kB / 1.12 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.641e-05/0.8458, allocations: 34.56 kB / 1.12 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.8458, allocations: 16.48 kB / 1.12 GB, free: 31.38 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.8459, allocations: 173.3 kB / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.8459, allocations: 11.72 kB / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.846, allocations: 0 / 1.12 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.8461, allocations: 51.02 kB / 1.12 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.8461, allocations: 0 / 1.12 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.8462, allocations: 3.844 kB / 1.12 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.8462, allocations: 0 / 1.12 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.8462, allocations: 18.66 kB / 1.12 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.8464, allocations: 171.2 kB / 1.12 GB, free: 30.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.8464, allocations: 60.11 kB / 1.12 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.8465, allocations: 2.812 kB / 1.12 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.8465, allocations: 34.44 kB / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.8465, allocations: 0 / 1.12 GB, free: 30.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009687/0.8475, allocations: 0.5855 MB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.8475, allocations: 51.41 kB / 1.121 GB, free: 30.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.8476, allocations: 91.92 kB / 1.121 GB, free: 30.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.8476, allocations: 29.64 kB / 1.121 GB, free: 30.24 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.8477, allocations: 80.14 kB / 1.121 GB, free: 30.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/0.8477, allocations: 41.33 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.8477, allocations: 7.938 kB / 1.121 GB, free: 30.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.8478, allocations: 317.9 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.8479, allocations: 21.75 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.94e-05/0.8479, allocations: 18.42 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.503e-05/0.848, allocations: 31.16 kB / 1.122 GB, free: 29.81 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.848, allocations: 3.938 kB / 1.122 GB, free: 29.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000123/0.8481, allocations: 90.28 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.8481, allocations: 7.75 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.8481, allocations: 0 / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.8481, allocations: 4 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.812e-05/0.8482, allocations: 25.86 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8483, allocations: 3.984 kB / 1.122 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.8483, allocations: 0 / 1.122 GB, free: 29.76 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-06/0.8483, allocations: 7.281 kB / 1.122 GB, free: 29.76 MB / 0.698 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.547e-05/0.8484, allocations: 121.5 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.8484, allocations: 6.859 kB / 1.122 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.8486, allocations: 105.5 kB / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.8486, allocations: 4 kB / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8486, allocations: 0 / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8486, allocations: 3.812 kB / 1.122 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000318/0.8489, allocations: 351.9 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.8489, allocations: 0 / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.912e-05/0.849, allocations: 18.22 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.849, allocations: 3.984 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.8491, allocations: 11.38 kB / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.8491, allocations: 0 / 1.122 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8491, allocations: 4 kB / 1.122 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001983/0.8493, allocations: 223 kB / 1.123 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.8493, allocations: 77.11 kB / 1.123 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.8493, allocations: 3.875 kB / 1.123 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.163e-05/0.8494, allocations: 3.812 kB / 1.123 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.8494, allocations: 7.062 kB / 1.123 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.8495, allocations: 3.812 kB / 1.123 GB, free: 29.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.8495, allocations: 83.22 kB / 1.123 GB, free: 28.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 9e-08/0.8495, allocations: 0 / 1.123 GB, free: 28.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003723/0.8499, allocations: 49.02 kB / 1.123 GB, free: 28.95 MB / 0.698 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.0005498/0.8504, allocations: 0.7933 MB / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001212/0.8506, allocations: 60.64 kB / 1.124 GB, free: 28.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8506, allocations: 4.156 kB / 1.124 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.809e-05/0.8506, allocations: 37.86 kB / 1.124 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.8508, allocations: 1.719 kB / 1.124 GB, free: 28.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/0.8515, allocations: 0.6619 MB / 1.124 GB, free: 27.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.8518, allocations: 0.6884 MB / 1.125 GB, free: 27.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.423e-05/0.8518, allocations: 10.72 kB / 1.125 GB, free: 27.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.8518, allocations: 22.91 kB / 1.125 GB, free: 27.08 MB / 0.698 GB Notification: Performance of SimCode: time 3.246e-06/0.8519, allocations: 0 / 1.125 GB, free: 27.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.8631, allocations: 1.774 MB / 1.127 GB, free: 26.92 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001244/0.8632, allocations: 229.8 kB / 1.127 GB, free: 26.68 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.529/2.392, allocations: 4 kB / 1.127 GB, free: 26.68 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)