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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001248/0.001248, allocations: 193 kB / 16.13 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.399/1.399, allocations: 205.1 MB / 222 MB, free: 4.746 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.634/1.634, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001315/0.001315, allocations: 61.83 kB / 0.6708 GB, free: 26.62 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.206, allocations: 114.6 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00375/0.2098, allocations: 1.533 MB / 0.7842 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.2115, allocations: 0.6512 MB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.767e-05/0.2116, allocations: 0 / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.889e-05/0.2117, allocations: 7.922 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001012/0.2118, allocations: 7.938 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.2127, allocations: 135.6 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2128, allocations: 47.84 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/0.2128, allocations: 4 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.836e-05/0.2129, allocations: 23.92 kB / 0.785 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.752e-05/0.213, allocations: 23.91 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.213, allocations: 0 / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006369/0.2137, allocations: 355.3 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.675e-05/0.2137, allocations: 15.92 kB / 0.7854 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.662e-05/0.2138, allocations: 15.94 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003704/0.2141, allocations: 179.7 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.2141, allocations: 0 / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2142, allocations: 0 / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.2142, allocations: 3.938 kB / 0.7856 GB, free: 11 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.0006649/0.2148, allocations: 399.3 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.2149, allocations: 12.03 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.215, allocations: 12.84 kB / 0.786 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2151, allocations: 164.3 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.2151, allocations: 8.375 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/0.2152, allocations: 4.375 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.2154, allocations: 82.16 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2155, allocations: 4.172 kB / 0.7863 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.2155, allocations: 11.92 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.2155, allocations: 0 / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002258/0.2157, allocations: 47.97 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000578/0.2163, allocations: 332.5 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.2166, allocations: 78.55 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.2167, allocations: 28.83 kB / 0.7867 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.2167, allocations: 7.938 kB / 0.7867 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.2168, allocations: 30.56 kB / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.303e-06/0.2168, allocations: 0 / 0.7868 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001699/0.2185, allocations: 0.654 MB / 0.7874 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.2185, allocations: 51.41 kB / 0.7875 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.401e-05/0.2186, allocations: 101.8 kB / 0.7875 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.2187, allocations: 37.7 kB / 0.7876 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.468e-05/0.2187, allocations: 84.05 kB / 0.7877 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.2188, allocations: 39.45 kB / 0.7877 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.2189, allocations: 25.7 kB / 0.7877 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.219, allocations: 318.8 kB / 0.788 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.2191, allocations: 32.09 kB / 0.7881 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.2192, allocations: 31.98 kB / 0.7881 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.2195, allocations: 84.39 kB / 0.7882 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2195, allocations: 0 / 0.7882 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003042/0.2198, allocations: 113.6 kB / 0.7883 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.2198, allocations: 4 kB / 0.7883 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2198, allocations: 4 kB / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.2198, allocations: 0 / 0.7883 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.22, allocations: 27.97 kB / 0.7883 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.22, allocations: 4 kB / 0.7883 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.615e-05/0.2201, allocations: 11.94 kB / 0.7883 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.2201, allocations: 4 kB / 0.7883 GB, free: 7.879 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 7.943e-05/0.2202, allocations: 117.8 kB / 0.7884 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.2202, allocations: 3.906 kB / 0.7884 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.2206, allocations: 137.5 kB / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.2206, allocations: 0 / 0.7886 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2206, allocations: 4 kB / 0.7886 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2206, allocations: 3.938 kB / 0.7886 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005571/0.2212, allocations: 386.4 kB / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2212, allocations: 0 / 0.789 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.2214, allocations: 27.98 kB / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2214, allocations: 0 / 0.789 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2214, allocations: 8.125 kB / 0.789 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2214, allocations: 4 kB / 0.789 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2214, allocations: 4 kB / 0.789 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004949/0.2219, allocations: 255.2 kB / 0.7892 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.222, allocations: 85.12 kB / 0.7893 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.222, allocations: 3.938 kB / 0.7893 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.2221, allocations: 8 kB / 0.7893 GB, free: 6.742 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.506e-05/0.2222, allocations: 12.05 kB / 0.7893 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.2222, allocations: 4 kB / 0.7894 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.625e-05/0.2222, allocations: 75.28 kB / 0.7894 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.2222, allocations: 0 / 0.7894 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002852/0.2225, allocations: 43.98 kB / 0.7895 GB, free: 6.609 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.0002373/0.2228, allocations: 131.2 kB / 0.7896 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.2231, allocations: 87.88 kB / 0.7897 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2231, allocations: 4 kB / 0.7897 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.2232, allocations: 43.92 kB / 0.7897 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.2236, allocations: 11.98 kB / 0.7897 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.2242, allocations: 347.4 kB / 0.7901 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.2245, allocations: 0.6926 MB / 0.7907 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.471e-05/0.2245, allocations: 20.59 kB / 0.7908 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.2246, allocations: 15.44 kB / 0.7908 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of SimCode: time 6.41e-07/0.2246, allocations: 0 / 0.7908 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of Templates: time 0.00335/0.2279, allocations: 1.103 MB / 0.7918 GB, free: 4.137 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (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 & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)