Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.66/2.66, allocations: 284.9 MB / 292.4 MB, free: 10.55 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.001577/0.001576, allocations: 180.9 kB / 360.6 MB, free: 7.289 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.095/2.095, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001144/0.001144, allocations: 89.72 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.512e-05/2.522e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7965/0.7966, allocations: 115.3 MB / 0.9634 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/1.032, allocations: 138.6 MB / 1.099 GB, free: 1.875 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003125/1.032, allocations: 86.36 kB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02135/1.054, allocations: 4.241 MB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/1.054, allocations: 0.6562 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.106e-05/1.054, allocations: 4 kB / 1.103 GB, free: 13.62 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.0006442/1.055, allocations: 375.2 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.055, allocations: 8.031 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/1.055, allocations: 8 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/1.055, allocations: 175 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/1.055, allocations: 5.734 kB / 1.104 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/1.055, allocations: 7.906 kB / 1.104 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000128/1.055, allocations: 28 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/1.055, allocations: 60.52 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.055, allocations: 0 / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.055, allocations: 0 / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/1.055, allocations: 4 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007105/1.056, allocations: 309.1 kB / 1.104 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/1.056, allocations: 58.56 kB / 1.104 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/1.056, allocations: 17.02 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/1.056, allocations: 3.984 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/1.056, allocations: 46.5 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.883e-06/1.056, allocations: 0 / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001142/1.057, allocations: 0.5166 MB / 1.105 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/1.058, allocations: 52.44 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/1.058, allocations: 89 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/1.058, allocations: 29.7 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.509e-05/1.058, allocations: 92.12 kB / 1.105 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/1.058, allocations: 43.3 kB / 1.105 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/1.058, allocations: 3.938 kB / 1.105 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.058, allocations: 318.8 kB / 1.105 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/1.058, allocations: 16 kB / 1.105 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/1.058, allocations: 21.25 kB / 1.105 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.888e-05/1.058, allocations: 19.98 kB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/1.058, allocations: 0 / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002214/1.058, allocations: 96.42 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/1.058, allocations: 4 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.058, allocations: 0 / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.058, allocations: 3.953 kB / 1.105 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/1.059, allocations: 27.98 kB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/1.059, allocations: 3.938 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/1.059, allocations: 7.812 kB / 1.105 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/1.059, allocations: 7.984 kB / 1.105 GB, free: 10.93 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.876e-05/1.059, allocations: 110.8 kB / 1.106 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002067/1.059, allocations: 82.8 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/1.059, allocations: 7.953 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/1.06, allocations: 107.9 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/1.06, allocations: 4 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.06, allocations: 0 / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/1.06, allocations: 3.984 kB / 1.106 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005074/1.06, allocations: 324.8 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/1.06, allocations: 4 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/1.061, allocations: 39.88 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.061, allocations: 0 / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/1.061, allocations: 7.984 kB / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.061, allocations: 0 / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.061, allocations: 192 / 1.106 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/1.061, allocations: 207.4 kB / 1.106 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/1.061, allocations: 91.81 kB / 1.106 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/1.061, allocations: 3.953 kB / 1.106 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/1.061, allocations: 7.984 kB / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.249e-05/1.061, allocations: 4 kB / 1.106 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/1.061, allocations: 8 kB / 1.106 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.481e-05/1.061, allocations: 83.27 kB / 1.106 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.061, allocations: 0 / 1.106 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004007/1.062, allocations: 40.06 kB / 1.106 GB, free: 9.727 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.0008239/1.063, allocations: 0.7893 MB / 1.107 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002025/1.063, allocations: 61.19 kB / 1.107 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.063, allocations: 0 / 1.107 GB, free: 8.855 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.483e-05/1.063, allocations: 31.98 kB / 1.107 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/1.063, allocations: 8.016 kB / 1.107 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008895/1.064, allocations: 294.2 kB / 1.108 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/1.064, allocations: 0.7007 MB / 1.108 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001017/1.065, allocations: 11.52 kB / 1.108 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/1.065, allocations: 27.42 kB / 1.108 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of SimCode: time 7.61e-07/1.065, allocations: 0 / 1.108 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0403/1.105, allocations: 1.674 MB / 1.11 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000339/1.105, allocations: 192.2 kB / 1.11 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.444/3.549, allocations: 0 / 1.11 GB, free: 5.922 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)