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.342/1.342, 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.0009545/0.0009548, allocations: 178.8 kB / 325.8 MB, free: 2.703 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.554/1.554, allocations: 205 MB / 0.576 GB, free: 21.02 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.0007363/0.0007361, allocations: 94.3 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002857/0.0002857, allocations: 14.06 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 105.4 MB / 0.8962 GB, free: 68.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001268/0.1616, allocations: 1.215 MB / 0.8974 GB, free: 66.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007779/0.1624, allocations: 0.6471 MB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.135e-05/0.1624, allocations: 0 / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.891e-05/0.1625, allocations: 3.938 kB / 0.898 GB, free: 66.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.422e-05/0.1625, allocations: 3.984 kB / 0.898 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.1629, allocations: 139.6 kB / 0.8982 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.621e-05/0.163, allocations: 55.53 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.163, allocations: 4 kB / 0.8982 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.545e-05/0.1631, allocations: 23.92 kB / 0.8983 GB, free: 66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.525e-05/0.1631, allocations: 23.91 kB / 0.8983 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1631, allocations: 4 kB / 0.8983 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003489/0.1635, allocations: 343.3 kB / 0.8986 GB, free: 65.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.1635, allocations: 19.91 kB / 0.8986 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.747e-05/0.1636, allocations: 27.86 kB / 0.8987 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002043/0.1638, allocations: 171.6 kB / 0.8988 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.1638, allocations: 3.938 kB / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1638, allocations: 0 / 0.8988 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.025e-06/0.1638, allocations: 0 / 0.8988 GB, free: 65.41 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.0004022/0.1642, allocations: 393.9 kB / 0.8992 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.1642, allocations: 8.031 kB / 0.8992 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.67e-05/0.1643, allocations: 38.75 kB / 0.8992 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.732e-05/0.1643, allocations: 4.938 kB / 0.8992 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.249e-05/0.1644, allocations: 176.2 kB / 0.8994 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1644, allocations: 8.312 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.1644, allocations: 8.375 kB / 0.8994 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.1646, allocations: 82.22 kB / 0.8995 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.1646, allocations: 11.88 kB / 0.8995 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1647, allocations: 8 kB / 0.8995 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1647, allocations: 0 / 0.8995 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.1649, allocations: 55.95 kB / 0.8996 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.1653, allocations: 332.6 kB / 0.8999 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1655, allocations: 90.53 kB / 0.9 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.782e-05/0.1656, allocations: 32.84 kB / 0.9 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1657, allocations: 0 / 0.9 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.1657, allocations: 38.55 kB / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1657, allocations: 0 / 0.9001 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.001373/0.1671, allocations: 0.6774 MB / 0.9007 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.1671, allocations: 51.41 kB / 0.9008 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.062e-05/0.1672, allocations: 105.8 kB / 0.9009 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.1672, allocations: 29.7 kB / 0.9009 GB, free: 63 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.127e-05/0.1672, allocations: 95.97 kB / 0.901 GB, free: 62.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.1672, allocations: 39.45 kB / 0.901 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.333e-05/0.1673, allocations: 13.72 kB / 0.901 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.362e-05/0.1673, allocations: 318.8 kB / 0.9013 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.1674, allocations: 35.97 kB / 0.9014 GB, free: 62.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.1675, allocations: 41.84 kB / 0.9014 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.1678, allocations: 80.78 kB / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1678, allocations: 0 / 0.9015 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000265/0.168, allocations: 136.3 kB / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1681, allocations: 4 kB / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1681, allocations: 0 / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1681, allocations: 0 / 0.9016 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001298/0.1682, allocations: 27.98 kB / 0.9016 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1682, allocations: 3.938 kB / 0.9017 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.837e-05/0.1683, allocations: 12 kB / 0.9017 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.1683, allocations: 3.984 kB / 0.9017 GB, free: 62.18 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 5.114e-05/0.1684, allocations: 121.8 kB / 0.9018 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.1684, allocations: 7.906 kB / 0.9018 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.1687, allocations: 125.6 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1687, allocations: 4.188 kB / 0.9019 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1687, allocations: 7.938 kB / 0.9019 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1687, allocations: 7.969 kB / 0.9019 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.1692, allocations: 386.4 kB / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1692, allocations: 0 / 0.9023 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.1693, allocations: 27.98 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1693, allocations: 8.031 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1693, allocations: 15.92 kB / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1693, allocations: 0 / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1693, allocations: 0 / 0.9023 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003939/0.1697, allocations: 267.3 kB / 0.9026 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.1698, allocations: 81.02 kB / 0.9027 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1698, allocations: 7.969 kB / 0.9027 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.1699, allocations: 7.984 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.1699, allocations: 8 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1699, allocations: 4 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.009e-05/0.17, allocations: 87.33 kB / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.17, allocations: 0 / 0.9028 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002565/0.1702, allocations: 35.94 kB / 0.9028 GB, free: 60.89 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.0005974/0.1708, allocations: 0.8337 MB / 0.9036 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002599/0.1711, allocations: 83.95 kB / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1711, allocations: 0 / 0.9037 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001182/0.1712, allocations: 55.97 kB / 0.9038 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.1715, allocations: 8 kB / 0.9038 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.173, allocations: 1.647 MB / 0.9054 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.429e-05/0.1731, allocations: 0.6926 MB / 0.9061 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 5.425e-05/0.1732, allocations: 16.66 kB / 0.9061 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.833e-05/0.1732, allocations: 23.44 kB / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of SimCode: time 3.3e-07/0.1732, allocations: 3.938 kB / 0.9061 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2689/0.4421, allocations: 2.1 MB / 0.9082 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.4424, allocations: 259.1 kB / 0.9084 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.062, allocations: 3.938 kB / 0.9084 GB, free: 55.18 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)