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_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.987/1.987, allocations: 252 MB / 267.3 MB, free: 10.83 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.001521/0.001521, allocations: 170.4 kB / 327 MB, free: 2.078 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.75/3.75, allocations: 205.4 MB / 0.578 GB, free: 20.43 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.001267/0.001267, allocations: 87.11 kB / 0.6826 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006119/0.0006127, allocations: 11.47 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3987, allocations: 106.3 MB / 0.9009 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002819/0.4017, allocations: 1.206 MB / 0.9021 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001931/0.4036, allocations: 0.6385 MB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.935e-05/0.4037, allocations: 4 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.4038, allocations: 0 / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.4039, allocations: 7.938 kB / 0.9027 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008966/0.4048, allocations: 131.6 kB / 0.9029 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001337/0.4049, allocations: 51.61 kB / 0.9029 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.4051, allocations: 7.984 kB / 0.9029 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.4052, allocations: 19.92 kB / 0.9029 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.511e-05/0.4053, allocations: 35.84 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.56e-05/0.4053, allocations: 4 kB / 0.903 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007889/0.4061, allocations: 347.2 kB / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.4062, allocations: 4 kB / 0.9033 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.593e-05/0.4063, allocations: 57.55 kB / 0.9034 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.4067, allocations: 171.9 kB / 0.9035 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.075e-05/0.4067, allocations: 0 / 0.9035 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.777e-06/0.4068, allocations: 3.938 kB / 0.9035 GB, free: 61 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4068, allocations: 0 / 0.9035 GB, free: 61 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0008986/0.4077, allocations: 395.4 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.854e-05/0.4078, allocations: 8.031 kB / 0.9039 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.086e-05/0.4079, allocations: 42.73 kB / 0.904 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.151e-05/0.4079, allocations: 4.938 kB / 0.904 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001556/0.4081, allocations: 168.2 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.4082, allocations: 4.375 kB / 0.9041 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.4082, allocations: 8.375 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003641/0.4086, allocations: 85.22 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.4086, allocations: 7.875 kB / 0.9042 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.4087, allocations: 7.984 kB / 0.9042 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4087, allocations: 0 / 0.9042 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.409, allocations: 59.97 kB / 0.9043 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009117/0.41, allocations: 324.6 kB / 0.9046 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.4105, allocations: 94.47 kB / 0.9047 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.4107, allocations: 32.84 kB / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.4108, allocations: 7.922 kB / 0.9047 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.4108, allocations: 38.56 kB / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.4108, allocations: 0 / 0.9048 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.002514/0.4134, allocations: 0.6619 MB / 0.9054 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.4134, allocations: 59.41 kB / 0.9055 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.4135, allocations: 105.8 kB / 0.9056 GB, free: 58.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.4136, allocations: 25.7 kB / 0.9056 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.511e-05/0.4136, allocations: 99.92 kB / 0.9057 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.4137, allocations: 39.44 kB / 0.9057 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.4137, allocations: 4 kB / 0.9057 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.4138, allocations: 314.8 kB / 0.906 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.414, allocations: 43.97 kB / 0.9061 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.4142, allocations: 39.97 kB / 0.9061 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.4145, allocations: 72.84 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.4145, allocations: 0 / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004146/0.415, allocations: 131.4 kB / 0.9063 GB, free: 57.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.415, allocations: 8 kB / 0.9063 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.415, allocations: 0 / 0.9063 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.4151, allocations: 0 / 0.9063 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.4153, allocations: 35.92 kB / 0.9063 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4153, allocations: 3.938 kB / 0.9064 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.145e-05/0.4154, allocations: 8 kB / 0.9064 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.713e-05/0.4154, allocations: 7.984 kB / 0.9064 GB, free: 57.79 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 (13): * Single equations (assignments): 13 * 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 0.0001083/0.4156, allocations: 117.8 kB / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.115e-05/0.4156, allocations: 3.906 kB / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000505/0.4161, allocations: 145.5 kB / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4161, allocations: 0 / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.4162, allocations: 3.938 kB / 0.9066 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.4162, allocations: 3.984 kB / 0.9066 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.4169, allocations: 382.6 kB / 0.907 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.4169, allocations: 0 / 0.907 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.4171, allocations: 27.92 kB / 0.907 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.4171, allocations: 7.938 kB / 0.907 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/0.4171, allocations: 3.984 kB / 0.907 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.4172, allocations: 0 / 0.907 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4172, allocations: 3.938 kB / 0.907 GB, free: 57.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006234/0.4178, allocations: 259.4 kB / 0.9073 GB, free: 56.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.4179, allocations: 85.05 kB / 0.9074 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.4179, allocations: 7.938 kB / 0.9074 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.4181, allocations: 11.98 kB / 0.9074 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.428e-05/0.4181, allocations: 4.062 kB / 0.9074 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.4181, allocations: 8 kB / 0.9074 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.379e-05/0.4182, allocations: 83.27 kB / 0.9075 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4182, allocations: 3.938 kB / 0.9075 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004526/0.4187, allocations: 43.94 kB / 0.9075 GB, free: 56.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (11): * Single equations (assignments): 11 * 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.001122/0.4198, allocations: 0.8185 MB / 0.9083 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005126/0.4203, allocations: 99.89 kB / 0.9084 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4203, allocations: 0 / 0.9084 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/0.4206, allocations: 55.95 kB / 0.9085 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.4211, allocations: 11.05 kB / 0.9085 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.4245, allocations: 1.689 MB / 0.9101 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.4248, allocations: 0.6887 MB / 0.9108 GB, free: 53 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.4249, allocations: 20.55 kB / 0.9108 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.418e-05/0.425, allocations: 23.42 kB / 0.9108 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of SimCode: time 6.32e-07/0.425, allocations: 0 / 0.9108 GB, free: 52.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3495/0.7745, allocations: 2.099 MB / 0.9129 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003258/0.775, allocations: 256.4 kB / 0.9131 GB, free: 50.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/3.68, allocations: 4.062 kB / 0.9131 GB, free: 50.76 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)