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.425/1.425, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001463/0.001463, allocations: 173.1 kB / 325.9 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.747/1.747, allocations: 205 MB / 0.576 GB, free: 20.95 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.0008233/0.0008233, allocations: 80.5 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 10.31 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1618, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001122/0.163, allocations: 1.02 MB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007739/0.1638, allocations: 0.6322 MB / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.506e-05/0.1638, allocations: 0 / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.1639, allocations: 0 / 0.8978 GB, free: 66.41 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.762e-05/0.1639, allocations: 3.984 kB / 0.8978 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004518/0.1644, allocations: 127.5 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.14e-05/0.1644, allocations: 19.92 kB / 0.898 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.314e-05/0.1644, allocations: 0 / 0.898 GB, free: 66.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.899e-05/0.1645, allocations: 15.94 kB / 0.898 GB, free: 66.24 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.215e-05/0.1645, allocations: 11.97 kB / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.1645, allocations: 0 / 0.898 GB, free: 66.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003633/0.1649, allocations: 343.3 kB / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.879e-06/0.1649, allocations: 0 / 0.8983 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.165, allocations: 15.92 kB / 0.8983 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001972/0.1652, allocations: 147.9 kB / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1652, allocations: 0 / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.704e-06/0.1652, allocations: 0 / 0.8985 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.1652, allocations: 0 / 0.8985 GB, free: 65.73 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.0002679/0.1655, allocations: 359.5 kB / 0.8988 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1655, allocations: 8.031 kB / 0.8988 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.284e-05/0.1655, allocations: 30.75 kB / 0.8988 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.1656, allocations: 4.938 kB / 0.8989 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.519e-05/0.1656, allocations: 172.2 kB / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.1656, allocations: 384 / 0.899 GB, free: 65.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1657, allocations: 12.3 kB / 0.899 GB, free: 65.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.918e-05/0.1658, allocations: 38.25 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.1658, allocations: 3.938 kB / 0.8991 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1658, allocations: 4 kB / 0.8991 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1658, allocations: 4 kB / 0.8991 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.602e-05/0.1658, allocations: 15.94 kB / 0.8991 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.166, allocations: 157.7 kB / 0.8992 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.1661, allocations: 42.61 kB / 0.8993 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.977e-05/0.1662, allocations: 20.94 kB / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1662, allocations: 0 / 0.8993 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.344e-05/0.1662, allocations: 34.56 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1662, allocations: 3.938 kB / 0.8993 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0005202/0.1668, allocations: 310.2 kB / 0.8996 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.1668, allocations: 55.41 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.715e-05/0.1668, allocations: 97.84 kB / 0.8998 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.1668, allocations: 25.7 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.531e-05/0.1669, allocations: 80.14 kB / 0.8999 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.1669, allocations: 27.66 kB / 0.8999 GB, free: 64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.1669, allocations: 13.72 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.044e-05/0.167, allocations: 318.8 kB / 0.9002 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.055e-05/0.167, allocations: 8 kB / 0.9002 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.839e-05/0.167, allocations: 15.98 kB / 0.9002 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.1671, allocations: 28.86 kB / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-07/0.1671, allocations: 0 / 0.9003 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.876e-05/0.1672, allocations: 69.72 kB / 0.9003 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1672, allocations: 10.66 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1672, allocations: 4.078 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.1672, allocations: 0 / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.603e-05/0.1673, allocations: 8 kB / 0.9004 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1673, allocations: 7.984 kB / 0.9004 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.1673, allocations: 0 / 0.9004 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.1673, allocations: 0 / 0.9004 GB, free: 63.5 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 4.439e-05/0.1673, allocations: 117.8 kB / 0.9005 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.1674, allocations: 7.844 kB / 0.9005 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001153/0.1675, allocations: 74.11 kB / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1675, allocations: 4 kB / 0.9006 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1675, allocations: 3.938 kB / 0.9006 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1675, allocations: 0 / 0.9006 GB, free: 63.28 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.1677, allocations: 319.3 kB / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1677, allocations: 0 / 0.9009 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.565e-05/0.1678, allocations: 15.98 kB / 0.9009 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1678, allocations: 0 / 0.9009 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.1678, allocations: 4 kB / 0.9009 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.1678, allocations: 0 / 0.9009 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.1678, allocations: 12.16 kB / 0.9009 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.168, allocations: 184.3 kB / 0.9011 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.71e-05/0.168, allocations: 85.05 kB / 0.9012 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.168, allocations: 3.984 kB / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.1681, allocations: 0 / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.507e-05/0.1681, allocations: 4 kB / 0.9012 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1681, allocations: 8.062 kB / 0.9012 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.684e-05/0.1681, allocations: 79.28 kB / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1681, allocations: 0 / 0.9013 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002262/0.1684, allocations: 23.98 kB / 0.9013 GB, free: 62.46 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.0002906/0.1687, allocations: 0.738 MB / 0.902 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.595e-05/0.1688, allocations: 31.98 kB / 0.902 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1688, allocations: 0 / 0.902 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.283e-05/0.1688, allocations: 19.92 kB / 0.902 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.169, allocations: 4 kB / 0.9021 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007847/0.1698, allocations: 1.337 MB / 0.9034 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.624e-05/0.1699, allocations: 0.677 MB / 0.904 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.984e-05/0.1699, allocations: 11.92 kB / 0.904 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.17, allocations: 19.44 kB / 0.904 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.8e-07/0.17, allocations: 0 / 0.904 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2485/0.4184, allocations: 1.423 MB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/0.4187, allocations: 259.7 kB / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.03, allocations: 0 / 0.9057 GB, free: 57.99 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)