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_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.631/1.631, allocations: 285.7 MB / 293.1 MB, free: 10.22 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.001172/0.001172, allocations: 184.9 kB / 361.4 MB, free: 6.844 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.437/1.437, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008346/0.0008347, allocations: 100.3 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.916e-05/1.917e-05, allocations: 4 kB / 0.8518 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6142/0.6143, allocations: 115.3 MB / 0.9645 GB, free: 78.92 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.7806, allocations: 138.8 MB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.7808, allocations: 79.94 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01271/0.7936, allocations: 4.245 MB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7936, allocations: 4 kB / 1.104 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.786e-06/0.7936, allocations: 0 / 1.104 GB, free: 12.65 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004105/0.794, allocations: 376.2 kB / 1.105 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.7941, allocations: 12.03 kB / 1.105 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.271e-05/0.7941, allocations: 8.531 kB / 1.105 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7942, allocations: 167 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.7943, allocations: 4.875 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.7943, allocations: 7.906 kB / 1.105 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.414e-05/0.7944, allocations: 31.14 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.7945, allocations: 61.67 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.7945, allocations: 3.312 kB / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.7945, allocations: 0 / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.7946, allocations: 0 / 1.105 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.7951, allocations: 319.8 kB / 1.105 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.036e-05/0.7952, allocations: 50.58 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.7952, allocations: 26.48 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.7952, allocations: 4 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.7953, allocations: 30.56 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.7953, allocations: 0 / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0007985/0.7961, allocations: 0.5245 MB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.7961, allocations: 63.39 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.096e-05/0.7962, allocations: 93 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.7962, allocations: 25.7 kB / 1.106 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.7963, allocations: 80.14 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.7963, allocations: 43.3 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.7963, allocations: 0 / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.7964, allocations: 322.8 kB / 1.106 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.926e-05/0.7965, allocations: 20 kB / 1.106 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.7965, allocations: 28.44 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.024e-05/0.7966, allocations: 23.98 kB / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.7966, allocations: 0 / 1.106 GB, free: 10.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001384/0.7967, allocations: 81.69 kB / 1.107 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.7967, allocations: 4 kB / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.7968, allocations: 0 / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.7968, allocations: 4 kB / 1.107 GB, free: 10.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.7969, allocations: 31.97 kB / 1.107 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.7969, allocations: 3.953 kB / 1.107 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.815e-05/0.797, allocations: 12 kB / 1.107 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.797, allocations: 0 / 1.107 GB, free: 9.961 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 8.067e-05/0.7971, allocations: 108.9 kB / 1.107 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001394/0.7973, allocations: 87.69 kB / 1.107 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.7973, allocations: 0 / 1.107 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001735/0.7975, allocations: 115.2 kB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.624e-06/0.7975, allocations: 0 / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.7975, allocations: 0 / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.7975, allocations: 4 kB / 1.107 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.7978, allocations: 329.9 kB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.7978, allocations: 0 / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.798, allocations: 27.92 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.798, allocations: 7.953 kB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.798, allocations: 0 / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.798, allocations: 0 / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.7981, allocations: 1.688 kB / 1.107 GB, free: 9.238 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.7983, allocations: 219.4 kB / 1.107 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-05/0.7983, allocations: 81.09 kB / 1.108 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.7983, allocations: 3.953 kB / 1.108 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.7985, allocations: 8.031 kB / 1.108 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.7985, allocations: 7.984 kB / 1.108 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.7985, allocations: 0.9375 kB / 1.108 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.609e-05/0.7986, allocations: 83.28 kB / 1.108 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7986, allocations: 4.062 kB / 1.108 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002716/0.7988, allocations: 44.05 kB / 1.108 GB, free: 8.762 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0005715/0.7994, allocations: 0.792 MB / 1.108 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001192/0.7996, allocations: 51.94 kB / 1.109 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7996, allocations: 4 kB / 1.109 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.214e-05/0.7996, allocations: 32.06 kB / 1.109 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.7998, allocations: 15.94 kB / 1.109 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005705/0.8004, allocations: 288.8 kB / 1.109 GB, free: 7.527 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.8006, allocations: 0.6929 MB / 1.11 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.887e-05/0.8007, allocations: 19.59 kB / 1.11 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.8008, allocations: 27.44 kB / 1.11 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8008, allocations: 4 kB / 1.11 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01883/0.8196, allocations: 1.682 MB / 1.111 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001939/0.8199, allocations: 203.1 kB / 1.111 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/2.381, allocations: 3.938 kB / 1.111 GB, free: 4.879 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)