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.814/1.814, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001082/0.001082, allocations: 184.8 kB / 361.4 MB, free: 6.816 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.35/1.35, allocations: 205.2 MB / 0.62 GB, free: 11.63 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008823/0.0008823, allocations: 95.2 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.45e-05/2.453e-05, allocations: 4 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.675/0.675, allocations: 115.3 MB / 0.9645 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.8709, allocations: 138.2 MB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.8712, allocations: 86.78 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01319/0.8844, allocations: 4.48 MB / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.302e-06/0.8845, allocations: 0 / 1.104 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8845, allocations: 0 / 1.104 GB, free: 13.06 MB / 0.7136 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.0003658/0.8849, allocations: 346.5 kB / 1.104 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.8849, allocations: 8.031 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.885, allocations: 10.44 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.8851, allocations: 167 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.8851, allocations: 0 / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.8852, allocations: 4 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.538e-05/0.8853, allocations: 22.33 kB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.543e-05/0.8854, allocations: 46.97 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.8854, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.8854, allocations: 0 / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.8854, allocations: 11.89 kB / 1.104 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001593/0.8856, allocations: 138.2 kB / 1.105 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.8857, allocations: 59.66 kB / 1.105 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.02e-05/0.8858, allocations: 27.91 kB / 1.105 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.8858, allocations: 1.188 kB / 1.105 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.8858, allocations: 34.56 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.8858, allocations: 0.5938 kB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0008426/0.8867, allocations: 0.5049 MB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.8867, allocations: 55.41 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.929e-05/0.8868, allocations: 92.98 kB / 1.105 GB, free: 11.31 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.8868, allocations: 25.7 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.8869, allocations: 84.14 kB / 1.105 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.8869, allocations: 45.73 kB / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.8869, allocations: 0 / 1.105 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.8871, allocations: 314.8 kB / 1.106 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.324e-05/0.8871, allocations: 19.94 kB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.638e-05/0.8871, allocations: 23.94 kB / 1.106 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.68e-05/0.8872, allocations: 28.69 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.8872, allocations: 0 / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001344/0.8873, allocations: 83.44 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.8874, allocations: 9.781 kB / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8874, allocations: 0 / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.8874, allocations: 0 / 1.106 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.8875, allocations: 23.98 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.8875, allocations: 4 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.8875, allocations: 2.438 kB / 1.106 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.8876, allocations: 0 / 1.106 GB, free: 10.64 MB / 0.7136 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 () * 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.6e-05/0.8876, allocations: 116.9 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001253/0.8878, allocations: 77.58 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.082e-05/0.8878, allocations: 4 kB / 1.106 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001848/0.888, allocations: 103.3 kB / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.888, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.888, allocations: 0 / 1.106 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.888, allocations: 3.984 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.8884, allocations: 321 kB / 1.107 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8884, allocations: 4 kB / 1.107 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.8885, allocations: 19.98 kB / 1.107 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.8885, allocations: 3.938 kB / 1.107 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.8885, allocations: 0 / 1.107 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8885, allocations: 4 kB / 1.107 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.8886, allocations: 0 / 1.107 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.8888, allocations: 199.5 kB / 1.107 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.8889, allocations: 85.05 kB / 1.107 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.8889, allocations: 4.062 kB / 1.107 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.889, allocations: 8 kB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.41e-05/0.889, allocations: 7.984 kB / 1.107 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.889, allocations: 8 kB / 1.107 GB, free: 9.602 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.368e-05/0.8891, allocations: 75.28 kB / 1.107 GB, free: 9.527 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8891, allocations: 4 kB / 1.107 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002951/0.8894, allocations: 39.92 kB / 1.107 GB, free: 9.484 MB / 0.7136 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 () * 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.0006409/0.89, allocations: 0.7795 MB / 1.108 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.8902, allocations: 59.86 kB / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8902, allocations: 0 / 1.108 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.961e-05/0.8902, allocations: 28 kB / 1.108 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.8904, allocations: 4.609 kB / 1.108 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.891, allocations: 277.2 kB / 1.108 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.8914, allocations: 0.6885 MB / 1.109 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.338e-05/0.8914, allocations: 19.02 kB / 1.109 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.8915, allocations: 19.44 kB / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of SimCode: time 3.91e-07/0.8915, allocations: 0 / 1.109 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.9137, allocations: 1.447 MB / 1.11 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.9141, allocations: 197.7 kB / 1.11 GB, free: 5.938 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.576, allocations: 5.812 kB / 1.11 GB, free: 5.934 MB / 0.7136 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)