Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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 8.0.0/package.mo): time 2.61/2.61, allocations: 287.5 MB / 302.4 MB, free: 8.234 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.001428/0.001428, allocations: 187.4 kB / 371 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 2.187/2.187, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.00126/0.001259, allocations: 95.69 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004752, allocations: 11.38 kB / 0.8659 GB, free: 140 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2106, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001417/0.2121, allocations: 0.9977 MB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.2132, allocations: 0.5542 MB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.414e-05/0.2132, allocations: 0 / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.734e-05/0.2133, allocations: 0 / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.905e-05/0.2133, allocations: 7.938 kB / 0.98 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005754/0.2139, allocations: 121.2 kB / 0.9801 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.988e-05/0.214, allocations: 27.91 kB / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.214, allocations: 0 / 0.9801 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.375e-05/0.2141, allocations: 11.94 kB / 0.9801 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.2141, allocations: 11.92 kB / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.2141, allocations: 0 / 0.9801 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006392/0.2148, allocations: 335.3 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.2148, allocations: 8 kB / 0.9805 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.2149, allocations: 25.7 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.2151, allocations: 96.11 kB / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2151, allocations: 0 / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.994e-06/0.2151, allocations: 0 / 0.9806 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2151, allocations: 4 kB / 0.9806 GB, free: 26.04 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.0003771/0.2155, allocations: 359.2 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.2156, allocations: 16.02 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.2156, allocations: 30.56 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.2156, allocations: 3.938 kB / 0.981 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.599e-05/0.2157, allocations: 171 kB / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2158, allocations: 0 / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.2158, allocations: 0 / 0.9811 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.2159, allocations: 41.69 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2159, allocations: 7.938 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.2159, allocations: 0 / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2159, allocations: 0 / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.465e-05/0.216, allocations: 11.98 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001478/0.2162, allocations: 161.6 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.2164, allocations: 42.55 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.2164, allocations: 20.8 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.2165, allocations: 4 kB / 0.9814 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.2165, allocations: 38.64 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.462e-06/0.2165, allocations: 0 / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0006266/0.2171, allocations: 310.5 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.2172, allocations: 51.41 kB / 0.9818 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.125e-05/0.2172, allocations: 101.8 kB / 0.9819 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.2173, allocations: 29.7 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.865e-05/0.2173, allocations: 84.08 kB / 0.982 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.2173, allocations: 23.72 kB / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.2173, allocations: 0 / 0.982 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.2174, allocations: 314.8 kB / 0.9823 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.2174, allocations: 15.98 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.2175, allocations: 15.98 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.141e-05/0.2175, allocations: 12 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.2175, allocations: 0 / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001224/0.2177, allocations: 69.59 kB / 0.9824 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.2177, allocations: 8 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2177, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2177, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.2178, allocations: 11.98 kB / 0.9825 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2178, allocations: 3.938 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.555e-05/0.2179, allocations: 0 / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2179, allocations: 4 kB / 0.9825 GB, free: 23.84 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.811e-05/0.218, allocations: 113.8 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.218, allocations: 4 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.2181, allocations: 77.58 kB / 0.9827 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2182, allocations: 3.938 kB / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2182, allocations: 128 / 0.9827 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2182, allocations: 8 kB / 0.9827 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000292/0.2185, allocations: 311.4 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.2185, allocations: 0 / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.935e-05/0.2186, allocations: 11.98 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.2186, allocations: 4 kB / 0.983 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.2187, allocations: 8.031 kB / 0.983 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.2187, allocations: 4.172 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2187, allocations: 3.938 kB / 0.983 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.2189, allocations: 180.2 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.2189, allocations: 85.12 kB / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2189, allocations: 0 / 0.9832 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.75e-05/0.219, allocations: 4 kB / 0.9833 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.2191, allocations: 8.047 kB / 0.9833 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.2191, allocations: 8 kB / 0.9833 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.51e-05/0.2191, allocations: 79.28 kB / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.31e-07/0.2191, allocations: 0 / 0.9833 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002988/0.2194, allocations: 16 kB / 0.9834 GB, free: 22.82 MB / 0.6198 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.0004265/0.2199, allocations: 0.7444 MB / 0.9841 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001142/0.22, allocations: 35.92 kB / 0.9841 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.22, allocations: 0 / 0.9841 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.722e-05/0.2201, allocations: 12 kB / 0.9841 GB, free: 22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.2204, allocations: 7.938 kB / 0.9841 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.2212, allocations: 496.2 kB / 0.9846 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2213, allocations: 0.6809 MB / 0.9853 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.734e-05/0.2214, allocations: 12.02 kB / 0.9853 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.2214, allocations: 19.38 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of SimCode: time 6.41e-07/0.2214, allocations: 3.938 kB / 0.9853 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02002/0.2414, allocations: 1.408 MB / 0.9867 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.2417, allocations: 229.8 kB / 0.9869 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/2.582, allocations: 0 / 0.9869 GB, free: 19.28 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)