Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005417/0.005417, allocations: 103.1 kB / 15.74 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 192 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9782/0.9782, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 0.5951 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3972, allocations: 82.03 MB / 0.6752 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00217/0.3994, allocations: 1.26 MB / 0.6764 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.4006, allocations: 0.627 MB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.4006, allocations: 0 / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.4007, allocations: 0 / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.4007, allocations: 5.312 kB / 0.677 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.4013, allocations: 151.7 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.694e-05/0.4014, allocations: 17.45 kB / 0.6772 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.4014, allocations: 5.094 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.59e-05/0.4014, allocations: 4.344 kB / 0.6772 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.115e-05/0.4015, allocations: 15.41 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.156e-05/0.4015, allocations: 5.094 kB / 0.6772 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005136/0.402, allocations: 342 kB / 0.6775 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.4021, allocations: 9.391 kB / 0.6775 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.4021, allocations: 8.125 kB / 0.6776 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.4023, allocations: 149 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4024, allocations: 0 / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.183e-06/0.4024, allocations: 1 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.4024, allocations: 0 / 0.6777 GB, free: 15.17 MB / 0.5137 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.0004316/0.4028, allocations: 360.9 kB / 0.678 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.4029, allocations: 14.28 kB / 0.6781 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.074e-05/0.4029, allocations: 39.95 kB / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.154e-05/0.403, allocations: 2.094 kB / 0.6781 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.4031, allocations: 173.5 kB / 0.6783 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4031, allocations: 1.469 kB / 0.6783 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.4031, allocations: 2.719 kB / 0.6783 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.4032, allocations: 44.25 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4033, allocations: 3.938 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.4033, allocations: 1.188 kB / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.4033, allocations: 0 / 0.6783 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.838e-05/0.4033, allocations: 14.03 kB / 0.6783 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.4035, allocations: 158.7 kB / 0.6785 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.4037, allocations: 44.84 kB / 0.6785 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/0.4037, allocations: 15.58 kB / 0.6785 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.4038, allocations: 4.938 kB / 0.6785 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.4038, allocations: 43.53 kB / 0.6786 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.4038, allocations: 0 / 0.6786 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006392/0.4045, allocations: 312.2 kB / 0.6789 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.939e-05/0.4045, allocations: 51.41 kB / 0.6789 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.717e-05/0.4046, allocations: 98.36 kB / 0.679 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.23e-05/0.4046, allocations: 25.7 kB / 0.679 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.587e-05/0.4046, allocations: 81.36 kB / 0.6791 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.492e-05/0.4047, allocations: 26.06 kB / 0.6791 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.4047, allocations: 23.62 kB / 0.6792 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.4049, allocations: 312.2 kB / 0.6795 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.4049, allocations: 14.2 kB / 0.6795 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.535e-05/0.4049, allocations: 10.19 kB / 0.6795 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.5e-05/0.405, allocations: 32.03 kB / 0.6795 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.405, allocations: 5.125 kB / 0.6795 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001117/0.4051, allocations: 72.66 kB / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.668e-05/0.4051, allocations: 5.375 kB / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4052, allocations: 0 / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.4052, allocations: 5.125 kB / 0.6796 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.4052, allocations: 13.77 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.4053, allocations: 0 / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.88e-05/0.4053, allocations: 1.031 kB / 0.6796 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.4053, allocations: 1.938 kB / 0.6796 GB, free: 13.13 MB / 0.5137 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 7.779e-05/0.4054, allocations: 112 kB / 0.6797 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.4054, allocations: 4.969 kB / 0.6797 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.4056, allocations: 83.22 kB / 0.6798 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4056, allocations: 5.094 kB / 0.6798 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.4056, allocations: 0 / 0.6798 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4056, allocations: 0 / 0.6798 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.4059, allocations: 321.3 kB / 0.6801 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4059, allocations: 4 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-05/0.406, allocations: 13.52 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.406, allocations: 1.094 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.406, allocations: 1.281 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.406, allocations: 1.188 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.406, allocations: 5.375 kB / 0.6801 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001971/0.4062, allocations: 185.2 kB / 0.6803 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.4063, allocations: 83.5 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.4063, allocations: 1.062 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.991e-05/0.4064, allocations: 1.188 kB / 0.6804 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.372e-05/0.4064, allocations: 10.14 kB / 0.6804 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4064, allocations: 7.531 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.4065, allocations: 77.28 kB / 0.6805 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4065, allocations: 0 / 0.6805 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002477/0.4067, allocations: 19.12 kB / 0.6805 GB, free: 12.23 MB / 0.5137 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.0005474/0.4073, allocations: 0.7429 MB / 0.6812 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.4074, allocations: 32.3 kB / 0.6813 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4074, allocations: 1.375 kB / 0.6813 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.267e-05/0.4075, allocations: 18.69 kB / 0.6813 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.4077, allocations: 2.625 kB / 0.6813 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.409, allocations: 1.334 MB / 0.6826 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.4092, allocations: 0.6824 MB / 0.6833 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.138e-05/0.4093, allocations: 6.922 kB / 0.6833 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.4093, allocations: 10.34 kB / 0.6833 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of SimCode: time 2.6e-07/0.4093, allocations: 4 kB / 0.6833 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.4288, allocations: 1.64 MB / 0.6849 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.851, allocations: 10.64 kB / 0.6849 GB, free: 8.637 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)