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_DerivativeCheck.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_DerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 1.584/1.584, allocations: 287.4 MB / 302.6 MB, free: 8.195 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.001385/0.001385, allocations: 177.5 kB / 371.1 MB, free: 10.85 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.422/1.422, allocations: 205.4 MB / 0.6298 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008978/0.0008979, allocations: 101.8 kB / 0.7431 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005042/0.0005043, allocations: 16.64 kB / 0.8662 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2005, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001142/0.2017, allocations: 0.9938 MB / 0.9797 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007631/0.2025, allocations: 0.5495 MB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.413e-05/0.2025, allocations: 0 / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.65e-05/0.2026, allocations: 3.938 kB / 0.9802 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.054e-05/0.2026, allocations: 7.922 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005078/0.2031, allocations: 124.7 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.082e-05/0.2032, allocations: 15.92 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.767e-05/0.2033, allocations: 8 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.2033, allocations: 11.94 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.2034, allocations: 11.97 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.2034, allocations: 3.938 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.2038, allocations: 331.3 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.2038, allocations: 7.984 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.2038, allocations: 33.64 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.204, allocations: 88.12 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.204, allocations: 4 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.463e-06/0.204, allocations: 0 / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.2041, allocations: 0 / 0.9809 GB, free: 25.92 MB / 0.6198 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.0003713/0.2044, allocations: 363.4 kB / 0.9812 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2045, allocations: 8.031 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.2045, allocations: 34.75 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.507e-05/0.2045, allocations: 0.9375 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.82e-05/0.2046, allocations: 160.4 kB / 0.9814 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.2047, allocations: 12.38 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.2047, allocations: 384 / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.2048, allocations: 42.25 kB / 0.9815 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.2048, allocations: 11.88 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.2048, allocations: 3.984 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.2048, allocations: 0 / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.2049, allocations: 11.98 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.205, allocations: 161.7 kB / 0.9816 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.2052, allocations: 38.61 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.2053, allocations: 16.86 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.2053, allocations: 8.078 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.2053, allocations: 38.44 kB / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.2053, allocations: 0 / 0.9817 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0005806/0.2059, allocations: 314.1 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.2059, allocations: 51.41 kB / 0.9821 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.253e-05/0.206, allocations: 101.8 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.206, allocations: 25.7 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.931e-05/0.206, allocations: 84.14 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.2061, allocations: 15.81 kB / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-06/0.2061, allocations: 0 / 0.9823 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.622e-05/0.2061, allocations: 318.8 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.056e-05/0.2062, allocations: 11.94 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.768e-05/0.2062, allocations: 11.98 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.943e-05/0.2062, allocations: 36.84 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.02e-07/0.2062, allocations: 0 / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.37e-05/0.2063, allocations: 77.47 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2063, allocations: 4 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2064, allocations: 0 / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.2064, allocations: 3.984 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.25e-05/0.2064, allocations: 12 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2064, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.2065, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.2065, allocations: 8 kB / 0.9828 GB, free: 23.7 MB / 0.6198 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 5.249e-05/0.2065, allocations: 109.8 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.132e-05/0.2066, allocations: 7.938 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.2067, allocations: 85.52 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2067, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.2067, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2067, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.207, allocations: 315.5 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.207, allocations: 0 / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.207, allocations: 15.98 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.207, allocations: 0 / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.293e-06/0.2071, allocations: 4.547 kB / 0.9833 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.2071, allocations: 4 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2071, allocations: 0 / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.2072, allocations: 184.2 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.2072, allocations: 85.08 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.2073, allocations: 0 / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.2073, allocations: 4 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.2074, allocations: 16.03 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.2074, allocations: 4 kB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.847e-05/0.2074, allocations: 75.28 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2074, allocations: 0 / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002386/0.2077, allocations: 24 kB / 0.9837 GB, free: 22.67 MB / 0.6198 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.000346/0.208, allocations: 0.7327 MB / 0.9844 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.38e-05/0.2081, allocations: 31.98 kB / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2081, allocations: 0 / 0.9844 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.2082, allocations: 19.94 kB / 0.9844 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002099/0.2084, allocations: 7.984 kB / 0.9844 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.2091, allocations: 0.496 MB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001053/0.2092, allocations: 0.6849 MB / 0.9856 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.291e-05/0.2092, allocations: 8.375 kB / 0.9856 GB, free: 20.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.2093, allocations: 7.438 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2093, allocations: 4 kB / 0.9856 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01185/0.2211, allocations: 1.352 MB / 0.9869 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000149/0.2213, allocations: 243.5 kB / 0.9872 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/1.775, allocations: 9.766 kB / 0.9872 GB, free: 19.17 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)