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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008361/0.008362, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.365/1.365, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.726/1.726, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005185/0.0005185, allocations: 12.28 kB / 0.6743 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2021, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001276/0.2034, allocations: 1.009 MB / 0.7889 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.2044, allocations: 0.6201 MB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.664e-05/0.2045, allocations: 0 / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.2045, allocations: 0 / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.535e-05/0.2045, allocations: 0 / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005051/0.2051, allocations: 127.5 kB / 0.7896 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.139e-05/0.2051, allocations: 19.88 kB / 0.7896 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.768e-05/0.2052, allocations: 4 kB / 0.7896 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.502e-05/0.2052, allocations: 7.984 kB / 0.7896 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.2053, allocations: 15.94 kB / 0.7896 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.2053, allocations: 3.984 kB / 0.7896 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004816/0.2058, allocations: 339.3 kB / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.107e-05/0.2058, allocations: 0 / 0.79 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.2058, allocations: 45.61 kB / 0.79 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002565/0.2061, allocations: 147.9 kB / 0.7902 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2061, allocations: 3.938 kB / 0.7902 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2061, allocations: 0 / 0.7902 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2061, allocations: 0 / 0.7902 GB, free: 9.23 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.0004039/0.2065, allocations: 347.4 kB / 0.7905 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.2066, allocations: 16.03 kB / 0.7905 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.2066, allocations: 8.922 kB / 0.7905 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2068, allocations: 160.4 kB / 0.7907 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.2068, allocations: 8.375 kB / 0.7907 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.2068, allocations: 384 / 0.7907 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.2069, allocations: 42.25 kB / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2069, allocations: 192 / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.207, allocations: 7.922 kB / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.207, allocations: 0 / 0.7907 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.909e-05/0.207, allocations: 11.94 kB / 0.7907 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001622/0.2072, allocations: 161.7 kB / 0.7909 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.2074, allocations: 38.61 kB / 0.7909 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.2074, allocations: 20.94 kB / 0.7909 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.2074, allocations: 0 / 0.7909 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.2075, allocations: 30.56 kB / 0.791 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.2075, allocations: 8 kB / 0.791 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6): time 0.0006299/0.2081, allocations: 314 kB / 0.7913 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.2082, allocations: 55.39 kB / 0.7913 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.2082, allocations: 97.84 kB / 0.7914 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.2083, allocations: 29.7 kB / 0.7915 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.243e-05/0.2083, allocations: 84.14 kB / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.2083, allocations: 23.73 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.2084, allocations: 9.719 kB / 0.7916 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.2085, allocations: 322.8 kB / 0.7919 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.2085, allocations: 7.984 kB / 0.7919 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.206e-05/0.2085, allocations: 15.98 kB / 0.7919 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.544e-05/0.2086, allocations: 32.86 kB / 0.7919 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2086, allocations: 0 / 0.7919 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.64e-05/0.2087, allocations: 69.53 kB / 0.792 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.2087, allocations: 7.938 kB / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.2087, allocations: 0 / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.2088, allocations: 0 / 0.792 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.2088, allocations: 19.98 kB / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.2088, allocations: 0 / 0.792 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.2088, allocations: 3.938 kB / 0.792 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.2089, allocations: 4 kB / 0.792 GB, free: 7.039 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.942e-05/0.2089, allocations: 110.5 kB / 0.7921 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.2089, allocations: 3.938 kB / 0.7921 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.2091, allocations: 81.58 kB / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.2091, allocations: 0 / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.2091, allocations: 0 / 0.7922 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.2091, allocations: 4 kB / 0.7922 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.2095, allocations: 315.3 kB / 0.7925 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2095, allocations: 0 / 0.7925 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.2095, allocations: 12.19 kB / 0.7925 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.2095, allocations: 4.516 kB / 0.7925 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.2096, allocations: 3.984 kB / 0.7925 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2096, allocations: 4 kB / 0.7925 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2096, allocations: 0 / 0.7925 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.2098, allocations: 184.2 kB / 0.7927 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.2098, allocations: 85.12 kB / 0.7928 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.2098, allocations: 0 / 0.7928 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.2099, allocations: 4 kB / 0.7928 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.2099, allocations: 7.984 kB / 0.7928 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.2099, allocations: 7.984 kB / 0.7928 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.939e-05/0.21, allocations: 75.34 kB / 0.7929 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.643e-06/0.21, allocations: 4 kB / 0.7929 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002505/0.2103, allocations: 27.88 kB / 0.7929 GB, free: 6.008 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 (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.0001535/0.2104, allocations: 115.2 kB / 0.793 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.331e-05/0.2105, allocations: 35.92 kB / 0.7931 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2105, allocations: 4 kB / 0.7931 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.351e-05/0.2106, allocations: 12 kB / 0.7931 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.2108, allocations: 11.92 kB / 0.7931 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.2112, allocations: 229.9 kB / 0.7933 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.2114, allocations: 0.6848 MB / 0.794 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.2114, allocations: 3.938 kB / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.2115, allocations: 11.44 kB / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2115, allocations: 0 / 0.794 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of Templates: time 0.002883/0.2143, allocations: 0.6309 MB / 0.7946 GB, free: 4.246 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: