Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.853/2.853, allocations: 287.3 MB / 302.3 MB, free: 8.289 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.001584/0.001583, allocations: 183.2 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001165/0.001164, allocations: 93.09 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007326/0.000733, allocations: 11.67 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3142, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.343, allocations: 138.6 MB / 1.114 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.343, allocations: 78.56 kB / 1.114 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01965/1.363, allocations: 3.998 MB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.795e-06/1.363, allocations: 4 kB / 1.118 GB, free: 31.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.188e-05/1.363, allocations: 3.875 kB / 1.118 GB, free: 31.29 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.0005175/1.363, allocations: 350.7 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/1.364, allocations: 11.67 kB / 1.118 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/1.364, allocations: 40.28 kB / 1.118 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/1.364, allocations: 8.641 kB / 1.118 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/1.364, allocations: 163 kB / 1.118 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/1.364, allocations: 3.844 kB / 1.118 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/1.364, allocations: 0 / 1.118 GB, free: 30.67 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/1.364, allocations: 47.08 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/1.364, allocations: 3.938 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/1.364, allocations: 0 / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/1.364, allocations: 0 / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.037e-05/1.364, allocations: 11.25 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/1.364, allocations: 162.8 kB / 1.118 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/1.365, allocations: 36.19 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/1.365, allocations: 7.969 kB / 1.118 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/1.365, allocations: 34.06 kB / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 3.898e-06/1.365, allocations: 0 / 1.118 GB, free: 30.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0008537/1.366, allocations: 312.6 kB / 1.119 GB, free: 30.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.753e-05/1.366, allocations: 51.41 kB / 1.119 GB, free: 30.05 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.011e-05/1.366, allocations: 88.81 kB / 1.119 GB, free: 29.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/1.366, allocations: 28.95 kB / 1.119 GB, free: 29.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/1.366, allocations: 86.95 kB / 1.119 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/1.366, allocations: 22.12 kB / 1.119 GB, free: 29.83 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/1.366, allocations: 0 / 1.119 GB, free: 29.83 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.366, allocations: 324.8 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/1.366, allocations: 10.53 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/1.366, allocations: 13.73 kB / 1.119 GB, free: 29.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/1.366, allocations: 15 kB / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/1.366, allocations: 0 / 1.119 GB, free: 29.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001608/1.366, allocations: 65.41 kB / 1.119 GB, free: 29.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/1.366, allocations: 7.781 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.393e-06/1.366, allocations: 0 / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.366, allocations: 0 / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/1.367, allocations: 14.03 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/1.367, allocations: 0.8594 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/1.367, allocations: 3.062 kB / 1.119 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/1.367, allocations: 3.875 kB / 1.119 GB, free: 29.46 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 0.0001242/1.367, allocations: 112.9 kB / 1.12 GB, free: 29.35 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.668e-05/1.367, allocations: 7.781 kB / 1.12 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/1.367, allocations: 79.14 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/1.367, allocations: 0 / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.367, allocations: 3 kB / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.367, allocations: 0 / 1.12 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004523/1.368, allocations: 318 kB / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/1.368, allocations: 0 / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/1.368, allocations: 14.12 kB / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.368, allocations: 0 / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.368, allocations: 7.281 kB / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/1.368, allocations: 0 / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/1.368, allocations: 3.844 kB / 1.12 GB, free: 28.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/1.368, allocations: 181.8 kB / 1.12 GB, free: 28.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/1.368, allocations: 87.31 kB / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/1.368, allocations: 7 kB / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.686e-05/1.368, allocations: 6.828 kB / 1.12 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.908e-05/1.368, allocations: 7.766 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/1.368, allocations: 3.906 kB / 1.12 GB, free: 28.72 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.961e-05/1.368, allocations: 81.23 kB / 1.12 GB, free: 28.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.368, allocations: 0 / 1.12 GB, free: 28.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003581/1.369, allocations: 23.09 kB / 1.12 GB, free: 28.64 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.0008272/1.37, allocations: 0.8218 MB / 1.121 GB, free: 27.88 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001568/1.37, allocations: 36.3 kB / 1.121 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.37, allocations: 0 / 1.121 GB, free: 27.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/1.37, allocations: 26.19 kB / 1.121 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001979/1.37, allocations: 9.047 kB / 1.121 GB, free: 27.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/1.371, allocations: 496 kB / 1.122 GB, free: 27.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/1.372, allocations: 0.6857 MB / 1.122 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.6e-05/1.372, allocations: 3.812 kB / 1.122 GB, free: 26.77 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.744e-05/1.372, allocations: 18.47 kB / 1.122 GB, free: 26.76 MB / 0.698 GB Notification: Performance of SimCode: time 1.372e-06/1.372, allocations: 0 / 1.122 GB, free: 26.76 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0238/1.395, allocations: 1.356 MB / 1.124 GB, free: 26.62 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002943/1.396, allocations: 217 kB / 1.124 GB, free: 26.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.929, allocations: 0 / 1.124 GB, free: 26.38 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)