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_DerivativeCheck.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_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.756/1.756, allocations: 288.2 MB / 303.2 MB, free: 8.117 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.001125/0.001124, allocations: 178.6 kB / 371.8 MB, free: 10.29 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.634/1.634, allocations: 205.4 MB / 0.6305 GB, free: 9.957 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.0008553/0.0008553, allocations: 105.7 kB / 0.7439 GB, free: 5.883 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.000382, allocations: 15.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2202, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6098/0.8301, allocations: 138.8 MB / 1.115 GB, free: 16.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.8303, allocations: 86.47 kB / 1.115 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01113/0.8415, allocations: 3.996 MB / 1.119 GB, free: 31.83 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/0.8415, allocations: 3.938 kB / 1.119 GB, free: 31.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.8415, allocations: 0 / 1.119 GB, free: 31.82 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003681/0.8419, allocations: 349 kB / 1.119 GB, free: 31.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.842, allocations: 11.67 kB / 1.119 GB, free: 31.45 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.339e-05/0.842, allocations: 41.36 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.842, allocations: 4.688 kB / 1.119 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.8422, allocations: 167 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.8422, allocations: 3.688 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/0.8422, allocations: 4 kB / 1.12 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.997e-05/0.8423, allocations: 40.92 kB / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.8423, allocations: 0 / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.685e-06/0.8423, allocations: 0 / 1.12 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8423, allocations: 3.984 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.988e-05/0.8424, allocations: 18.53 kB / 1.12 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.8426, allocations: 155.6 kB / 1.12 GB, free: 30.97 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.8427, allocations: 50.38 kB / 1.12 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.8428, allocations: 0 / 1.12 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.8428, allocations: 33.75 kB / 1.12 GB, free: 30.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.8428, allocations: 0 / 1.12 GB, free: 30.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.000595/0.8434, allocations: 308.6 kB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.8434, allocations: 54.72 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.572e-05/0.8435, allocations: 91.53 kB / 1.12 GB, free: 30.49 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.8435, allocations: 29.7 kB / 1.12 GB, free: 30.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/0.8436, allocations: 83.39 kB / 1.12 GB, free: 30.38 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.8436, allocations: 22.39 kB / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.8436, allocations: 3 kB / 1.12 GB, free: 30.36 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8437, allocations: 314.8 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.8438, allocations: 20.02 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.823e-05/0.8438, allocations: 10.69 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.721e-05/0.8438, allocations: 10.81 kB / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.8438, allocations: 0 / 1.121 GB, free: 30.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.744e-05/0.8439, allocations: 61.8 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.844, allocations: 12.34 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.844, allocations: 0 / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.844, allocations: 0 / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.098e-05/0.844, allocations: 15.62 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.844, allocations: 240 / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.8441, allocations: 2.875 kB / 1.121 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.8441, allocations: 3.938 kB / 1.121 GB, free: 30 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 (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 8.141e-05/0.8442, allocations: 120.3 kB / 1.121 GB, free: 29.88 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.8442, allocations: 7.906 kB / 1.121 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.8444, allocations: 75.95 kB / 1.121 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8444, allocations: 3.938 kB / 1.121 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8444, allocations: 0 / 1.121 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.8444, allocations: 0 / 1.121 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.8447, allocations: 313.8 kB / 1.121 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.8447, allocations: 0 / 1.121 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.8448, allocations: 18.02 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.8448, allocations: 4.031 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.8448, allocations: 0 / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8448, allocations: 0 / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8448, allocations: 3.844 kB / 1.121 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.845, allocations: 186.7 kB / 1.122 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.845, allocations: 84.89 kB / 1.122 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.8451, allocations: 10.3 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.8451, allocations: 0.7656 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.8452, allocations: 3.812 kB / 1.122 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.8452, allocations: 11.78 kB / 1.122 GB, free: 29.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.8452, allocations: 89.69 kB / 1.122 GB, free: 29.17 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8452, allocations: 0 / 1.122 GB, free: 29.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002657/0.8455, allocations: 23.34 kB / 1.122 GB, free: 29.17 MB / 0.698 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.0005698/0.8461, allocations: 0.8166 MB / 1.123 GB, free: 28.41 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.135e-05/0.8462, allocations: 36 kB / 1.123 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8462, allocations: 0 / 1.123 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.319e-05/0.8462, allocations: 14.94 kB / 1.123 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/0.8464, allocations: 7.953 kB / 1.123 GB, free: 28.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007246/0.8471, allocations: 0.4961 MB / 1.123 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.8474, allocations: 0.6796 MB / 1.124 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.8474, allocations: 6.797 kB / 1.124 GB, free: 27.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.049e-05/0.8475, allocations: 14.19 kB / 1.124 GB, free: 27.29 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.8475, allocations: 0 / 1.124 GB, free: 27.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0112/0.8587, allocations: 1.366 MB / 1.125 GB, free: 27.16 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/0.8589, allocations: 236.5 kB / 1.125 GB, free: 26.91 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.516/2.375, allocations: 0 / 1.125 GB, free: 26.91 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)