Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.857/1.857, allocations: 289.9 MB / 297.4 MB, free: 6.406 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.001502/0.001502, allocations: 176.8 kB / 366.7 MB, free: 1.691 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.645/1.645, allocations: 205.3 MB / 0.626 GB, free: 7.18 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.0009374/0.0009374, allocations: 90.19 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.918e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7909/0.791, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/1.01, allocations: 138.9 MB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/1.01, allocations: 79.95 kB / 1.109 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009215/1.02, allocations: 2.822 MB / 1.112 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.064e-06/1.02, allocations: 0 / 1.112 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.053e-05/1.02, allocations: 0 / 1.112 GB, free: 8.453 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003945/1.02, allocations: 340.9 kB / 1.112 GB, free: 8.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/1.02, allocations: 8.031 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/1.02, allocations: 4 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/1.02, allocations: 174.9 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/1.02, allocations: 0 / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/1.02, allocations: 7.984 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.651e-05/1.021, allocations: 7.656 kB / 1.112 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.493e-05/1.021, allocations: 37.7 kB / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/1.021, allocations: 0 / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/1.021, allocations: 0 / 1.112 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/1.021, allocations: 3.984 kB / 1.112 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/1.021, allocations: 135.4 kB / 1.113 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/1.021, allocations: 42.61 kB / 1.113 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/1.021, allocations: 22.11 kB / 1.113 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/1.021, allocations: 0 / 1.113 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/1.021, allocations: 31.31 kB / 1.113 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 7.31e-07/1.021, allocations: 5.188 kB / 1.113 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0006024/1.022, allocations: 285.7 kB / 1.113 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/1.022, allocations: 54.66 kB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.57e-05/1.022, allocations: 89.19 kB / 1.113 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/1.022, allocations: 27.48 kB / 1.113 GB, free: 6.996 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/1.022, allocations: 80.14 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/1.022, allocations: 23.7 kB / 1.113 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-06/1.022, allocations: 0 / 1.113 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001256/1.022, allocations: 310.8 kB / 1.113 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/1.022, allocations: 8.781 kB / 1.113 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.991e-05/1.022, allocations: 12.5 kB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.868e-05/1.022, allocations: 11.73 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/1.022, allocations: 7.953 kB / 1.113 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.311e-05/1.022, allocations: 58.61 kB / 1.114 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/1.022, allocations: 4 kB / 1.114 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/1.022, allocations: 2.156 kB / 1.114 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.022, allocations: 0 / 1.114 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.013e-05/1.022, allocations: 27.91 kB / 1.114 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.022, allocations: 0 / 1.114 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/1.023, allocations: 0 / 1.114 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/1.023, allocations: 4 kB / 1.114 GB, free: 6.445 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 (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.526e-05/1.023, allocations: 105 kB / 1.114 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001241/1.023, allocations: 61.55 kB / 1.114 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/1.023, allocations: 3.094 kB / 1.114 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001386/1.023, allocations: 74.02 kB / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.023, allocations: 0 / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.023, allocations: 0 / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.023, allocations: 0 / 1.114 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/1.023, allocations: 291.9 kB / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.023, allocations: 0 / 1.114 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.223e-05/1.023, allocations: 11 kB / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/1.023, allocations: 7.938 kB / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/1.023, allocations: 0 / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.023, allocations: 0 / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.023, allocations: 0 / 1.114 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/1.024, allocations: 190 kB / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.339e-05/1.024, allocations: 85.14 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/1.024, allocations: 0 / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.933e-05/1.024, allocations: 0 / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.236e-05/1.024, allocations: 11.92 kB / 1.114 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/1.024, allocations: 4 kB / 1.114 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.12e-05/1.024, allocations: 79.23 kB / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.024, allocations: 0 / 1.114 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002424/1.024, allocations: 24 kB / 1.114 GB, free: 5.41 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0005798/1.025, allocations: 0.815 MB / 1.115 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.608e-05/1.025, allocations: 31.94 kB / 1.115 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.025, allocations: 5.562 kB / 1.115 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.139e-05/1.025, allocations: 12 kB / 1.115 GB, free: 4.516 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/1.025, allocations: 7.953 kB / 1.115 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/1.025, allocations: 188.4 kB / 1.115 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/1.026, allocations: 0.6807 MB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.444e-05/1.026, allocations: 9.875 kB / 1.116 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.719e-05/1.026, allocations: 19.42 kB / 1.116 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/1.026, allocations: 0 / 1.116 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/1.049, allocations: 1.041 MB / 1.117 GB, free: 2.555 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003134/1.049, allocations: 190.8 kB / 1.117 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.908, allocations: 3.125 kB / 1.117 GB, free: 2.359 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)