Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.646/1.646, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001043/0.001043, allocations: 180.8 kB / 366.7 MB, free: 1.648 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.987/1.987, allocations: 205.3 MB / 0.626 GB, free: 7.148 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.0008253/0.0008253, allocations: 87.64 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.855e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.805, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/1.025, allocations: 139.1 MB / 1.109 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/1.025, allocations: 84.67 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01344/1.038, allocations: 4.481 MB / 1.114 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.014e-06/1.038, allocations: 0 / 1.114 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.038, allocations: 1.156 kB / 1.114 GB, free: 6.418 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003978/1.039, allocations: 342.5 kB / 1.114 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.039, allocations: 12.62 kB / 1.114 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.476e-05/1.039, allocations: 10.91 kB / 1.114 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/1.039, allocations: 171 kB / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/1.039, allocations: 0 / 1.114 GB, free: 5.812 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/1.039, allocations: 4 kB / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.726e-05/1.039, allocations: 16 kB / 1.114 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/1.039, allocations: 41.69 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/1.039, allocations: 0 / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/1.039, allocations: 0 / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/1.039, allocations: 6.406 kB / 1.114 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/1.04, allocations: 142.2 kB / 1.114 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/1.04, allocations: 58.5 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/1.04, allocations: 25.39 kB / 1.114 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.83e-05/1.04, allocations: 4.875 kB / 1.114 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.04, allocations: 35.44 kB / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/1.04, allocations: 0 / 1.115 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001009/1.041, allocations: 0.5047 MB / 1.115 GB, free: 4.832 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/1.041, allocations: 55.41 kB / 1.115 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/1.041, allocations: 89 kB / 1.115 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.278e-05/1.041, allocations: 33.11 kB / 1.115 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/1.041, allocations: 80.14 kB / 1.115 GB, free: 4.555 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.743e-05/1.041, allocations: 43.3 kB / 1.115 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/1.041, allocations: 3.094 kB / 1.115 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001258/1.041, allocations: 314.8 kB / 1.116 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.163e-05/1.041, allocations: 23.98 kB / 1.116 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.44e-05/1.041, allocations: 23.94 kB / 1.116 GB, free: 4.148 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.551e-05/1.042, allocations: 23.05 kB / 1.116 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/1.042, allocations: 0 / 1.116 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001309/1.042, allocations: 83.3 kB / 1.116 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.042, allocations: 11.94 kB / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.042, allocations: 0 / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/1.042, allocations: 0 / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/1.042, allocations: 23.98 kB / 1.116 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.042, allocations: 4 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/1.042, allocations: 4.125 kB / 1.116 GB, free: 4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/1.042, allocations: 3.984 kB / 1.116 GB, free: 3.996 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 9.113e-05/1.042, allocations: 108.9 kB / 1.116 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001407/1.042, allocations: 77.53 kB / 1.116 GB, free: 3.801 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/1.042, allocations: 4 kB / 1.116 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002047/1.042, allocations: 104.8 kB / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/1.042, allocations: 0 / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/1.042, allocations: 3.25 kB / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/1.042, allocations: 0 / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000391/1.043, allocations: 327.2 kB / 1.116 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.043, allocations: 3.984 kB / 1.116 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001107/1.043, allocations: 18.25 kB / 1.116 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/1.043, allocations: 0 / 1.116 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.043, allocations: 4 kB / 1.116 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.043, allocations: 0 / 1.116 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.043, allocations: 2.578 kB / 1.116 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/1.043, allocations: 211.5 kB / 1.117 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.073e-05/1.043, allocations: 81.02 kB / 1.117 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/1.043, allocations: 3.984 kB / 1.117 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/1.043, allocations: 0 / 1.117 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/1.043, allocations: 7.938 kB / 1.117 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/1.043, allocations: 7.984 kB / 1.117 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.418e-05/1.044, allocations: 83.28 kB / 1.117 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/1.044, allocations: 0 / 1.117 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003047/1.044, allocations: 40.09 kB / 1.117 GB, free: 2.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0006974/1.045, allocations: 0.7841 MB / 1.118 GB, free: 2.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001338/1.045, allocations: 51.94 kB / 1.118 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.045, allocations: 0 / 1.118 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.03e-05/1.045, allocations: 35.94 kB / 1.118 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001551/1.045, allocations: 4.062 kB / 1.118 GB, free: 1.941 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006468/1.046, allocations: 263.4 kB / 1.118 GB, free: 1.652 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/1.046, allocations: 0.6885 MB / 1.119 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.422e-05/1.046, allocations: 13.41 kB / 1.119 GB, free: 0.9258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/1.046, allocations: 23.42 kB / 1.119 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/1.046, allocations: 5.812 kB / 1.119 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/1.069, allocations: 1.447 MB / 1.12 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002304/1.069, allocations: 191.9 kB / 1.12 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.748/2.817, allocations: 2.062 kB / 1.12 GB, free: 15.3 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)