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_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 252 MB / 267.3 MB, free: 10.86 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.0009608/0.0009608, allocations: 176.9 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.417/2.417, allocations: 205.4 MB / 0.578 GB, free: 20.16 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.001284/0.001285, allocations: 96.05 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007787/0.0007792, allocations: 11.44 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4578/0.4586, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00283/0.4616, allocations: 1.021 MB / 0.9019 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001893/0.4635, allocations: 0.6112 MB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.4636, allocations: 4 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.4637, allocations: 0 / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.763e-05/0.4638, allocations: 3.984 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008778/0.4647, allocations: 125.8 kB / 0.9026 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.257e-05/0.4648, allocations: 19.88 kB / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/0.4649, allocations: 0 / 0.9027 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.637e-05/0.465, allocations: 19.91 kB / 0.9027 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.759e-05/0.4651, allocations: 4 kB / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.4651, allocations: 0 / 0.9027 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007511/0.4659, allocations: 351.3 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.4659, allocations: 3.938 kB / 0.903 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.125e-05/0.466, allocations: 41.62 kB / 0.9031 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004038/0.4664, allocations: 136 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.4664, allocations: 0 / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.337e-06/0.4664, allocations: 3.938 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.4665, allocations: 0 / 0.9032 GB, free: 61.08 MB / 0.6042 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.0006658/0.4671, allocations: 363.4 kB / 0.9035 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.582e-05/0.4672, allocations: 8.031 kB / 0.9035 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.708e-05/0.4673, allocations: 38.75 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.4674, allocations: 4.938 kB / 0.9036 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.4676, allocations: 164.3 kB / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4676, allocations: 384 / 0.9037 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.4676, allocations: 4.375 kB / 0.9037 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.4679, allocations: 38.25 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4679, allocations: 3.938 kB / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.4679, allocations: 0 / 0.9038 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.4679, allocations: 4 kB / 0.9038 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.789e-05/0.468, allocations: 15.92 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002902/0.4683, allocations: 161.7 kB / 0.904 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002556/0.4686, allocations: 46.56 kB / 0.904 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.442e-05/0.4686, allocations: 16.86 kB / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.4687, allocations: 0 / 0.904 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.4687, allocations: 30.56 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4687, allocations: 0 / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0008389/0.4696, allocations: 318.2 kB / 0.9044 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.4696, allocations: 59.41 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.224e-05/0.4697, allocations: 94.19 kB / 0.9045 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.4697, allocations: 25.7 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.4698, allocations: 80.14 kB / 0.9046 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.4698, allocations: 27.64 kB / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.4698, allocations: 0 / 0.9046 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.4699, allocations: 318.8 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/0.47, allocations: 15.98 kB / 0.9049 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.47, allocations: 4 kB / 0.9049 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.483e-05/0.4701, allocations: 32.86 kB / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.4701, allocations: 0 / 0.905 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001148/0.4702, allocations: 73.73 kB / 0.9051 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.4703, allocations: 6.969 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.4703, allocations: 0 / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.4703, allocations: 4 kB / 0.9051 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.016e-05/0.4704, allocations: 23.91 kB / 0.9051 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4704, allocations: 4 kB / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.383e-05/0.4704, allocations: 0 / 0.9051 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.4705, allocations: 4 kB / 0.9051 GB, free: 58.86 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.009e-05/0.4705, allocations: 111.8 kB / 0.9052 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.4706, allocations: 11.84 kB / 0.9052 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.4708, allocations: 73.58 kB / 0.9053 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4708, allocations: 0 / 0.9053 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.4708, allocations: 0 / 0.9053 GB, free: 58.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4708, allocations: 4 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003859/0.4712, allocations: 315.4 kB / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4712, allocations: 192 / 0.9056 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.4713, allocations: 15.98 kB / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4713, allocations: 0 / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.4713, allocations: 4 kB / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.4713, allocations: 0 / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.4714, allocations: 0 / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.4716, allocations: 176.4 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.4716, allocations: 100.9 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.849e-05/0.4717, allocations: 0 / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.4718, allocations: 4 kB / 0.9059 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.4718, allocations: 3.984 kB / 0.9059 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.4718, allocations: 4 kB / 0.9059 GB, free: 57.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.504e-05/0.4719, allocations: 83.28 kB / 0.906 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4719, allocations: 4.062 kB / 0.906 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003692/0.4723, allocations: 16 kB / 0.906 GB, free: 57.84 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005689/0.4728, allocations: 0.7406 MB / 0.9067 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.473, allocations: 32.2 kB / 0.9067 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.473, allocations: 4.062 kB / 0.9067 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/0.473, allocations: 19.94 kB / 0.9068 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.4734, allocations: 11.05 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.475, allocations: 1.353 MB / 0.9081 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.4753, allocations: 0.677 MB / 0.9087 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.125e-05/0.4754, allocations: 4 kB / 0.9088 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.416e-05/0.4755, allocations: 15.42 kB / 0.9088 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.4755, allocations: 3.938 kB / 0.9088 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8182/1.294, allocations: 1.42 MB / 0.9102 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003785/1.294, allocations: 272.6 kB / 0.9104 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.902/4.196, allocations: 5.188 kB / 0.9104 GB, free: 53.33 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)