Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008975/0.0008976, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001004/0.001004, allocations: 177.2 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.283/1.283, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.63/1.63, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004571/0.0004571, allocations: 14.28 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2018, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001264/0.2031, allocations: 1.21 MB / 0.7892 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.2039, allocations: 0.6318 MB / 0.7898 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.537e-05/0.204, allocations: 0 / 0.7898 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.204, allocations: 3.938 kB / 0.7898 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.031e-05/0.204, allocations: 0 / 0.7898 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.2044, allocations: 139.5 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.444e-05/0.2044, allocations: 51.8 kB / 0.79 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 2.759e-05/0.2045, allocations: 4 kB / 0.79 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.751e-05/0.2045, allocations: 27.91 kB / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.182e-05/0.2046, allocations: 27.91 kB / 0.7901 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.2046, allocations: 4 kB / 0.7901 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.205, allocations: 347.3 kB / 0.7904 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.205, allocations: 7.938 kB / 0.7904 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.205, allocations: 45.62 kB / 0.7904 GB, free: 9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.2052, allocations: 179.7 kB / 0.7906 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.2052, allocations: 0 / 0.7906 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.61e-07/0.2052, allocations: 0 / 0.7906 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.054e-06/0.2052, allocations: 0 / 0.7906 GB, free: 8.824 MB / 0.6075 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.0004087/0.2057, allocations: 391.4 kB / 0.791 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.653e-05/0.2057, allocations: 8.031 kB / 0.791 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.729e-05/0.2057, allocations: 42.73 kB / 0.791 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.15e-05/0.2058, allocations: 8.844 kB / 0.791 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.55e-05/0.2058, allocations: 164.3 kB / 0.7912 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.2059, allocations: 12.31 kB / 0.7912 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2059, allocations: 12.31 kB / 0.7912 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.2061, allocations: 93.41 kB / 0.7913 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2061, allocations: 3.938 kB / 0.7913 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.2061, allocations: 4 kB / 0.7913 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.554e-06/0.2061, allocations: 0 / 0.7913 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002191/0.2063, allocations: 59.95 kB / 0.7914 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.2068, allocations: 324.6 kB / 0.7917 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002534/0.207, allocations: 90.53 kB / 0.7918 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.2071, allocations: 36.83 kB / 0.7918 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.2072, allocations: 0 / 0.7918 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.2072, allocations: 42.56 kB / 0.7918 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.12e-07/0.2072, allocations: 0 / 0.7918 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001366/0.2086, allocations: 0.6735 MB / 0.7925 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.394e-05/0.2086, allocations: 55.41 kB / 0.7926 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.968e-05/0.2087, allocations: 109.8 kB / 0.7927 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2087, allocations: 25.7 kB / 0.7927 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.066e-05/0.2087, allocations: 88.05 kB / 0.7928 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.605e-05/0.2088, allocations: 39.45 kB / 0.7928 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.2088, allocations: 13.72 kB / 0.7928 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.081e-05/0.2089, allocations: 318.8 kB / 0.7931 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.209, allocations: 35.98 kB / 0.7932 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.2091, allocations: 39.97 kB / 0.7932 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.2094, allocations: 76.83 kB / 0.7933 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.2094, allocations: 4 kB / 0.7933 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002929/0.2097, allocations: 129.6 kB / 0.7934 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.2097, allocations: 4 kB / 0.7934 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.2097, allocations: 0 / 0.7934 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.2097, allocations: 0 / 0.7934 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.2098, allocations: 31.98 kB / 0.7934 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2098, allocations: 7.938 kB / 0.7934 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.2099, allocations: 11.98 kB / 0.7934 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2099, allocations: 0 / 0.7934 GB, free: 5.594 MB / 0.6075 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 6.798e-05/0.21, allocations: 122.4 kB / 0.7936 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.21, allocations: 7.906 kB / 0.7936 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.2104, allocations: 137.5 kB / 0.7937 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2104, allocations: 4 kB / 0.7937 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2104, allocations: 3.938 kB / 0.7937 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2104, allocations: 0 / 0.7937 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.2109, allocations: 394.4 kB / 0.7941 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2109, allocations: 4.078 kB / 0.7941 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001309/0.211, allocations: 31.92 kB / 0.7941 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.211, allocations: 3.938 kB / 0.7941 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.2111, allocations: 8 kB / 0.7941 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2111, allocations: 0 / 0.7941 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2111, allocations: 0 / 0.7941 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000456/0.2115, allocations: 270.3 kB / 0.7944 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.625e-05/0.2116, allocations: 77.11 kB / 0.7945 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.2116, allocations: 7.969 kB / 0.7945 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.2117, allocations: 16.05 kB / 0.7945 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.488e-05/0.2117, allocations: 7.984 kB / 0.7945 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.2117, allocations: 4 kB / 0.7945 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.812e-05/0.2118, allocations: 83.28 kB / 0.7946 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2118, allocations: 0 / 0.7946 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002366/0.212, allocations: 32 kB / 0.7946 GB, free: 4.297 MB / 0.6075 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.0007115/0.2127, allocations: 0.8414 MB / 0.7954 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000278/0.213, allocations: 92.02 kB / 0.7955 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.213, allocations: 0 / 0.7955 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001312/0.2132, allocations: 51.91 kB / 0.7956 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.2134, allocations: 8 kB / 0.7956 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.2151, allocations: 1.682 MB / 0.7972 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.2153, allocations: 0.6926 MB / 0.7979 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.284e-05/0.2154, allocations: 16.59 kB / 0.7979 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.112e-05/0.2154, allocations: 27.42 kB / 0.7979 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2154, allocations: 0 / 0.7979 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.566/1.781, allocations: 2.085 MB / 0.8 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/1.782, allocations: 242.6 kB / 0.8002 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/4.283, allocations: 3.938 kB / 0.8002 GB, free: 14.62 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)