Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.493/1.493, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 176.9 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.3 MB / 0.5671 GB, free: 15.87 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008951/0.0008951, allocations: 104.6 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.935e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2109, allocations: 106.3 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7654/0.9764, allocations: 132.7 MB / 1.015 GB, free: 5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.9767, allocations: 79.02 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01171/0.9884, allocations: 3.978 MB / 1.019 GB, free: 1.668 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9885, allocations: 4 kB / 1.019 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.9885, allocations: 0 / 1.019 GB, free: 1.664 MB / 0.6355 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.0003721/0.9889, allocations: 345.2 kB / 1.019 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.9889, allocations: 12.03 kB / 1.019 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.989, allocations: 4 kB / 1.019 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.9891, allocations: 167 kB / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.783e-05/0.9892, allocations: 0 / 1.019 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.9892, allocations: 4 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.596e-05/0.9893, allocations: 11.62 kB / 1.019 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.233e-05/0.9894, allocations: 37 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.9894, allocations: 0 / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.9894, allocations: 4 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.9894, allocations: 0 / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.9896, allocations: 149.6 kB / 1.02 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.9898, allocations: 37.92 kB / 1.02 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.57e-05/0.9898, allocations: 16.05 kB / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.9899, allocations: 0 / 1.02 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.9899, allocations: 33.94 kB / 1.02 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.9899, allocations: 3.938 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005895/0.9905, allocations: 278.9 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/0.9906, allocations: 58.03 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.648e-05/0.9907, allocations: 88.98 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.448e-05/0.9907, allocations: 25.7 kB / 1.02 GB, free: 232 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.376e-05/0.9907, allocations: 84.14 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.9908, allocations: 14.88 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.9908, allocations: 0 / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.9909, allocations: 326 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.991, allocations: 6.125 kB / 1.02 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.991, allocations: 12 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.991, allocations: 18.97 kB / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.991, allocations: 0 / 1.021 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001095/0.9911, allocations: 67.8 kB / 1.021 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.9912, allocations: 8 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9912, allocations: 0 / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.9912, allocations: 0 / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.395e-05/0.9913, allocations: 8 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.9913, allocations: 8 kB / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.9913, allocations: 0 / 1.021 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.9913, allocations: 0 / 1.021 GB, free: 15.69 MB / 0.6511 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 (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 7.684e-05/0.9914, allocations: 108.9 kB / 1.021 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.029e-05/0.9915, allocations: 55.95 kB / 1.021 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.208e-05/0.9915, allocations: 12.27 kB / 1.021 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.9917, allocations: 59.34 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.9917, allocations: 4 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.9917, allocations: 4 kB / 1.021 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.9917, allocations: 3.984 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000329/0.992, allocations: 284.9 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.992, allocations: 4.25 kB / 1.021 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.9921, allocations: 15.98 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.9921, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.9921, allocations: 4 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.9921, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9922, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002065/0.9924, allocations: 188.4 kB / 1.021 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.243e-05/0.9924, allocations: 85 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.9925, allocations: 7.969 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.217e-05/0.9925, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.9926, allocations: 7.953 kB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.9926, allocations: 0 / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.491e-05/0.9926, allocations: 91.14 kB / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9926, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002759/0.9929, allocations: 20 kB / 1.022 GB, free: 14.68 MB / 0.6511 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 () * 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.0006077/0.9935, allocations: 0.8169 MB / 1.022 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 9.393e-05/0.9936, allocations: 31.25 kB / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.9936, allocations: 0 / 1.022 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.461e-05/0.9937, allocations: 15.38 kB / 1.022 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001548/0.9938, allocations: 7.953 kB / 1.022 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005032/0.9943, allocations: 186 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.9947, allocations: 0.6807 MB / 1.023 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.9947, allocations: 4 kB / 1.023 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.9948, allocations: 14.67 kB / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.9948, allocations: 0 / 1.023 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/1.016, allocations: 1.026 MB / 1.024 GB, free: 11.87 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/1.016, allocations: 205.5 kB / 1.024 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.594, allocations: 2.672 kB / 1.024 GB, free: 11.67 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)