Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.421/2.421, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.00152/0.00152, allocations: 180.8 kB / 360.6 MB, free: 7.277 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.039/2.039, 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.001095/0.001095, allocations: 94.95 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.169e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8462/0.8463, allocations: 115.2 MB / 0.9634 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/1.09, allocations: 138 MB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/1.091, allocations: 81.16 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02293/1.114, allocations: 4.479 MB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.532e-06/1.114, allocations: 0.5312 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.105e-06/1.114, allocations: 0.625 kB / 1.103 GB, free: 14.03 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.0004242/1.114, allocations: 348.7 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/1.114, allocations: 8.031 kB / 1.103 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.27e-05/1.114, allocations: 8.438 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/1.115, allocations: 167.7 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/1.115, allocations: 4 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/1.115, allocations: 5.578 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001027/1.115, allocations: 19.94 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/1.115, allocations: 45.67 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/1.115, allocations: 5.219 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/1.115, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/1.115, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001989/1.115, allocations: 148 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/1.115, allocations: 50.56 kB / 1.103 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.834e-05/1.115, allocations: 28.8 kB / 1.103 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/1.115, allocations: 4 kB / 1.103 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/1.115, allocations: 36.97 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.893e-06/1.115, allocations: 0 / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001132/1.117, allocations: 0.5125 MB / 1.104 GB, free: 12.43 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.117, allocations: 59.39 kB / 1.104 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.549e-05/1.117, allocations: 89 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/1.117, allocations: 25.7 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.082e-05/1.117, allocations: 81.45 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.578e-05/1.117, allocations: 43.3 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-06/1.117, allocations: 3.938 kB / 1.104 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.117, allocations: 322.8 kB / 1.105 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.432e-05/1.117, allocations: 16.12 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.892e-05/1.117, allocations: 23.94 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.118e-05/1.117, allocations: 21.23 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/1.117, allocations: 0 / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002233/1.117, allocations: 89.69 kB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.118, allocations: 6.031 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.118, allocations: 3.984 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/1.118, allocations: 0 / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000188/1.118, allocations: 20 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.118, allocations: 3.938 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.021e-05/1.118, allocations: 1.406 kB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/1.118, allocations: 8 kB / 1.105 GB, free: 11.59 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.165e-05/1.118, allocations: 108.9 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001879/1.118, allocations: 77.59 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.666e-05/1.118, allocations: 4 kB / 1.105 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002899/1.118, allocations: 103.7 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.119, allocations: 0 / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.119, allocations: 3.984 kB / 1.105 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/1.119, allocations: 4 kB / 1.105 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004875/1.119, allocations: 315.1 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.119, allocations: 0 / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002125/1.119, allocations: 23.92 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/1.119, allocations: 4 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/1.119, allocations: 7.375 kB / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/1.119, allocations: 0 / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.119, allocations: 0 / 1.105 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/1.12, allocations: 204.2 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.811e-05/1.12, allocations: 81.02 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.948e-05/1.12, allocations: 0 / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/1.12, allocations: 8.016 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/1.12, allocations: 7.938 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/1.12, allocations: 4 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.224e-05/1.12, allocations: 79.28 kB / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.12, allocations: 0 / 1.106 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004178/1.12, allocations: 39.92 kB / 1.106 GB, free: 10.45 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.0008243/1.121, allocations: 0.7865 MB / 1.107 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001991/1.122, allocations: 55.88 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.122, allocations: 0 / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/1.122, allocations: 32 kB / 1.107 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/1.122, allocations: 6.422 kB / 1.107 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/1.123, allocations: 274 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/1.123, allocations: 0.6885 MB / 1.108 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.876e-05/1.123, allocations: 13.78 kB / 1.108 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.535e-05/1.123, allocations: 19.42 kB / 1.108 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of SimCode: time 9.42e-07/1.123, allocations: 0 / 1.108 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03725/1.16, allocations: 1.448 MB / 1.109 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003459/1.161, allocations: 191.9 kB / 1.109 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.52, allocations: 0 / 1.109 GB, free: 6.906 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)