Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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_DerivativeCheck,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001222/0.001222, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.695/1.695, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0007721/0.0007723, allocations: 22.09 kB / 0.6738 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2265, allocations: 116.3 MB / 0.7874 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001204/0.2277, allocations: 0.9976 MB / 0.7884 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00084/0.2286, allocations: 0.5699 MB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.896e-05/0.2286, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.153e-05/0.2286, allocations: 4 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.642e-05/0.2287, allocations: 7.922 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004726/0.2291, allocations: 127 kB / 0.7891 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.57e-05/0.2292, allocations: 15.94 kB / 0.7891 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.2292, allocations: 3.984 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.009e-05/0.2293, allocations: 7.938 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.199e-05/0.2293, allocations: 7.984 kB / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.358e-06/0.2293, allocations: 0 / 0.7891 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004628/0.2298, allocations: 331.3 kB / 0.7894 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-06/0.2298, allocations: 7.984 kB / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.2299, allocations: 37.62 kB / 0.7895 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.23, allocations: 100.1 kB / 0.7896 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.23, allocations: 0 / 0.7896 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2301, allocations: 0 / 0.7896 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.996e-06/0.2301, allocations: 0 / 0.7896 GB, free: 9.656 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003428/0.2304, allocations: 355.2 kB / 0.7899 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2305, allocations: 12.02 kB / 0.7899 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.379e-05/0.2305, allocations: 34.56 kB / 0.7899 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.2305, allocations: 4 kB / 0.7899 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.2306, allocations: 171 kB / 0.7901 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.2306, allocations: 0 / 0.7901 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.2307, allocations: 4 kB / 0.7901 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.793e-05/0.2308, allocations: 37.69 kB / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.2308, allocations: 0 / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.2308, allocations: 0 / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.2308, allocations: 0 / 0.7901 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.677e-05/0.2308, allocations: 23.91 kB / 0.7902 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.231, allocations: 161.7 kB / 0.7903 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.2312, allocations: 50.56 kB / 0.7904 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.994e-05/0.2312, allocations: 16.8 kB / 0.7904 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.2312, allocations: 4 kB / 0.7904 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.2313, allocations: 30.56 kB / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2313, allocations: 0 / 0.7904 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0005526/0.2318, allocations: 310.2 kB / 0.7907 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.2319, allocations: 55.41 kB / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/0.2319, allocations: 97.86 kB / 0.7909 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.2319, allocations: 25.7 kB / 0.7909 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.232, allocations: 84.14 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/0.232, allocations: 19.7 kB / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.232, allocations: 0 / 0.791 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2321, allocations: 326.7 kB / 0.7913 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.2322, allocations: 11.98 kB / 0.7913 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.2322, allocations: 12 kB / 0.7913 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.081e-05/0.2322, allocations: 16 kB / 0.7913 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.2322, allocations: 0 / 0.7913 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.598e-05/0.2323, allocations: 69.52 kB / 0.7914 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.2323, allocations: 8 kB / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2324, allocations: 0 / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.338e-06/0.2324, allocations: 0 / 0.7914 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.877e-05/0.2324, allocations: 8 kB / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.2324, allocations: 0 / 0.7914 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.2325, allocations: 7.984 kB / 0.7914 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.2325, allocations: 4 kB / 0.7914 GB, free: 7.465 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 (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 7.405e-05/0.2325, allocations: 118.7 kB / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-06/0.2326, allocations: 0 / 0.7915 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.2327, allocations: 73.53 kB / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2327, allocations: 0 / 0.7916 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2327, allocations: 4 kB / 0.7916 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.2327, allocations: 3.984 kB / 0.7916 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.233, allocations: 315.4 kB / 0.7919 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.233, allocations: 3.938 kB / 0.7919 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.909e-05/0.2331, allocations: 8.188 kB / 0.7919 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2331, allocations: 7.938 kB / 0.7919 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.2331, allocations: 4 kB / 0.7919 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2331, allocations: 0 / 0.7919 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2331, allocations: 4.219 kB / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.2333, allocations: 184.3 kB / 0.7921 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.2334, allocations: 81.61 kB / 0.7922 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2334, allocations: 4 kB / 0.7922 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.018e-05/0.2335, allocations: 4 kB / 0.7922 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.2335, allocations: 3.938 kB / 0.7922 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.2335, allocations: 4 kB / 0.7922 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.031e-05/0.2335, allocations: 87.25 kB / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2335, allocations: 0 / 0.7923 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002442/0.2338, allocations: 20 kB / 0.7923 GB, free: 6.438 MB / 0.6075 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.000454/0.2343, allocations: 0.7406 MB / 0.793 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.794e-05/0.2344, allocations: 35.92 kB / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2344, allocations: 0 / 0.7931 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.2344, allocations: 23.92 kB / 0.7931 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.2346, allocations: 8.125 kB / 0.7931 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.2353, allocations: 487.6 kB / 0.7936 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.2356, allocations: 0.6809 MB / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.2356, allocations: 0 / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.2356, allocations: 19.42 kB / 0.7943 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.2356, allocations: 4.062 kB / 0.7943 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/0.2468, allocations: 1.398 MB / 0.7956 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001911/0.247, allocations: 232.3 kB / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.749/1.996, allocations: 0 / 0.7958 GB, free: 2.914 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: