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.441/1.441, allocations: 251.9 MB / 266.9 MB, free: 11 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.001568/0.001568, allocations: 191 kB / 326.5 MB, free: 2.227 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.703/1.703, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.0008304/0.0008303, allocations: 94.36 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.0004287, allocations: 9.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1775/0.3886, allocations: 132.5 MB / 1.03 GB, free: 11.17 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/0.389, allocations: 79.95 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.4023, allocations: 4.004 MB / 1.034 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.896e-06/0.4023, allocations: 0 / 1.034 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.4023, allocations: 0 / 1.034 GB, free: 7.082 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.0005158/0.4029, allocations: 351.2 kB / 1.034 GB, free: 6.691 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.4029, allocations: 8.031 kB / 1.034 GB, free: 6.684 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.756e-05/0.403, allocations: 38.5 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.773e-05/0.403, allocations: 7.953 kB / 1.034 GB, free: 6.629 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.4032, allocations: 167 kB / 1.034 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.4032, allocations: 4 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.4032, allocations: 4 kB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.4034, allocations: 41.69 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.4034, allocations: 0 / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.4034, allocations: 0 / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.4034, allocations: 0 / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.965e-05/0.4035, allocations: 8 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002031/0.4037, allocations: 169.5 kB / 1.034 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.4039, allocations: 42.55 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.4039, allocations: 0 / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.4039, allocations: 42.62 kB / 1.034 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.4039, allocations: 0 / 1.034 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of matching and sorting (n=6): time 0.000693/0.4046, allocations: 306.3 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.4047, allocations: 51.41 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.4048, allocations: 89 kB / 1.035 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4048, allocations: 29.7 kB / 1.035 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.4048, allocations: 84.08 kB / 1.035 GB, free: 5.418 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.4049, allocations: 27.64 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.4049, allocations: 0 / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.405, allocations: 314.8 kB / 1.035 GB, free: 5.074 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.867e-05/0.405, allocations: 15.98 kB / 1.035 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.338e-05/0.4051, allocations: 16 kB / 1.035 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.4051, allocations: 8 kB / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4051, allocations: 0 / 1.035 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001093/0.4052, allocations: 73.81 kB / 1.035 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4053, allocations: 4 kB / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.4053, allocations: 0 / 1.035 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.4053, allocations: 4 kB / 1.035 GB, free: 4.949 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.947e-05/0.4054, allocations: 15.92 kB / 1.035 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.4054, allocations: 7.875 kB / 1.035 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.4054, allocations: 0 / 1.035 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.4054, allocations: 8 kB / 1.035 GB, free: 4.918 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 9.864e-05/0.4055, allocations: 113.8 kB / 1.035 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.219e-05/0.4055, allocations: 4 kB / 1.035 GB, free: 4.793 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.4057, allocations: 69.72 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4057, allocations: 3.984 kB / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4057, allocations: 0 / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4057, allocations: 0 / 1.036 GB, free: 4.715 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/0.406, allocations: 319.3 kB / 1.036 GB, free: 4.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.406, allocations: 4 kB / 1.036 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.311e-05/0.4061, allocations: 8 kB / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.4061, allocations: 0 / 1.036 GB, free: 4.332 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.4061, allocations: 4 kB / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4061, allocations: 7.922 kB / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4061, allocations: 0 / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002327/0.4064, allocations: 190.1 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.4065, allocations: 85.12 kB / 1.036 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.4065, allocations: 0 / 1.036 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.327e-05/0.4066, allocations: 4 kB / 1.036 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.57e-05/0.4066, allocations: 3.953 kB / 1.036 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.4066, allocations: 8 kB / 1.036 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.751e-05/0.4066, allocations: 79.27 kB / 1.036 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4066, allocations: 0 / 1.036 GB, free: 3.914 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002815/0.4069, allocations: 36 kB / 1.036 GB, free: 3.879 MB / 0.6823 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 () * 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.0006112/0.4076, allocations: 0.815 MB / 1.037 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.4077, allocations: 36.17 kB / 1.037 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4077, allocations: 4.062 kB / 1.037 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.884e-05/0.4077, allocations: 19.94 kB / 1.037 GB, free: 2.973 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.4079, allocations: 9.984 kB / 1.037 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000812/0.4087, allocations: 0.492 MB / 1.038 GB, free: 2.418 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.409, allocations: 0.6809 MB / 1.038 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.583e-05/0.409, allocations: 4.062 kB / 1.038 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.617e-05/0.4091, allocations: 23.42 kB / 1.038 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/0.4091, allocations: 3.938 kB / 1.038 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.4212, allocations: 1.353 MB / 1.04 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002174/0.4215, allocations: 224.9 kB / 1.04 GB, free: 308 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/1.947, allocations: 0 / 1.04 GB, free: 308 kB / 0.6823 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)