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_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 251.9 MB / 266.9 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 181.4 kB / 326.5 MB, free: 2.262 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.751/1.751, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0008104/0.0008105, allocations: 90.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003164, allocations: 9.75 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1894, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.156/0.3454, allocations: 132.4 MB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.3457, allocations: 87.83 kB / 1.029 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008476/0.3542, allocations: 2.829 MB / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3542, allocations: 0 / 1.032 GB, free: 8.371 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3543, allocations: 4 kB / 1.032 GB, free: 8.367 MB / 0.6823 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.0003294/0.3546, allocations: 351.2 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3547, allocations: 15.97 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.3547, allocations: 30.56 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.3547, allocations: 3.953 kB / 1.033 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.3549, allocations: 171 kB / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3549, allocations: 0 / 1.033 GB, free: 7.711 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.3549, allocations: 7.938 kB / 1.033 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.355, allocations: 41.69 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.355, allocations: 4 kB / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.3551, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.3551, allocations: 0 / 1.033 GB, free: 7.652 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.3551, allocations: 12 kB / 1.033 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.3553, allocations: 161.5 kB / 1.033 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.3555, allocations: 46.55 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.3555, allocations: 4 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.3555, allocations: 36.25 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3556, allocations: 0 / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.0006541/0.3562, allocations: 314.3 kB / 1.033 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.3563, allocations: 51.41 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.864e-05/0.3563, allocations: 89 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.517e-05/0.3564, allocations: 25.7 kB / 1.034 GB, free: 6.785 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.473e-05/0.3564, allocations: 88.08 kB / 1.034 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.3564, allocations: 23.7 kB / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.3565, allocations: 0 / 1.034 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3566, allocations: 322.8 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.3566, allocations: 8 kB / 1.034 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.3566, allocations: 11.98 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.193e-05/0.3567, allocations: 16 kB / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3567, allocations: 0 / 1.034 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.532e-05/0.3568, allocations: 61.62 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3568, allocations: 8 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3568, allocations: 4 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3568, allocations: 0 / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.3569, allocations: 8 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.3569, allocations: 0 / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.3569, allocations: 4 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-06/0.357, allocations: 7.984 kB / 1.034 GB, free: 6.215 MB / 0.6823 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 () * Number of clocked 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.493e-05/0.357, allocations: 117.7 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.3571, allocations: 0 / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.3572, allocations: 78.05 kB / 1.034 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3572, allocations: 4 kB / 1.034 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.3572, allocations: 4 kB / 1.034 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.3572, allocations: 3.984 kB / 1.034 GB, free: 5.996 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.3576, allocations: 319.3 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.227e-06/0.3576, allocations: 3.984 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.3576, allocations: 8 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3576, allocations: 4 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3577, allocations: 0 / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3577, allocations: 224 / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3577, allocations: 8 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.3579, allocations: 194 kB / 1.035 GB, free: 5.387 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/0.358, allocations: 81.09 kB / 1.035 GB, free: 5.289 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.358, allocations: 8.031 kB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.721e-05/0.3581, allocations: 3.938 kB / 1.035 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.3581, allocations: 12.02 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.3581, allocations: 0 / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.966e-05/0.3581, allocations: 83.27 kB / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3581, allocations: 0 / 1.035 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002355/0.3584, allocations: 24 kB / 1.035 GB, free: 5.16 MB / 0.6823 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 () * Number of clocked 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.0005328/0.3589, allocations: 0.8194 MB / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.678e-05/0.359, allocations: 31.98 kB / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.359, allocations: 0 / 1.036 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.747e-05/0.3591, allocations: 15.94 kB / 1.036 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.3592, allocations: 11 kB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.3599, allocations: 0.4969 MB / 1.036 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.3602, allocations: 0.6848 MB / 1.037 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.3602, allocations: 4 kB / 1.037 GB, free: 2.988 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.886e-05/0.3602, allocations: 11.44 kB / 1.037 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of SimCode: time 2.41e-07/0.3602, allocations: 0 / 1.037 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01096/0.3712, allocations: 1.381 MB / 1.038 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/0.3715, allocations: 230.6 kB / 1.039 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.519/1.89, allocations: 2.031 kB / 1.039 GB, free: 1.582 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)