Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.556/2.556, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002151/0.002151, allocations: 180.7 kB / 325.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.464/2.464, allocations: 205.4 MB / 0.5767 GB, free: 20.69 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 95.2 kB / 0.6812 GB, free: 13.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006173/0.0006175, allocations: 19.2 kB / 0.7953 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2092, allocations: 106.2 MB / 0.899 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001868/0.2111, allocations: 1.195 MB / 0.9002 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.2125, allocations: 0.5845 MB / 0.9008 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.743e-05/0.2126, allocations: 0 / 0.9008 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.168e-05/0.2127, allocations: 11.86 kB / 0.9008 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.317e-05/0.2127, allocations: 0 / 0.9008 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007373/0.2135, allocations: 135.5 kB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.752e-05/0.2136, allocations: 47.84 kB / 0.901 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.124e-05/0.2137, allocations: 4 kB / 0.901 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.2e-05/0.2137, allocations: 27.92 kB / 0.901 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.2138, allocations: 23.91 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.2138, allocations: 4 kB / 0.901 GB, free: 63.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006572/0.2145, allocations: 327.3 kB / 0.9013 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.2145, allocations: 23.91 kB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.2146, allocations: 29.7 kB / 0.9014 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003565/0.2149, allocations: 116.1 kB / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.215, allocations: 0 / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.205e-06/0.215, allocations: 0 / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.215, allocations: 0 / 0.9015 GB, free: 62.85 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.0006903/0.2157, allocations: 391.4 kB / 0.9019 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2157, allocations: 8.031 kB / 0.9019 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.458e-05/0.2158, allocations: 8.844 kB / 0.9019 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.917e-05/0.2159, allocations: 176.3 kB / 0.902 GB, free: 62.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/0.216, allocations: 12.31 kB / 0.9021 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.216, allocations: 4.375 kB / 0.9021 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.2164, allocations: 90.2 kB / 0.9021 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.2164, allocations: 192 / 0.9021 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.2164, allocations: 7.938 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2164, allocations: 3.984 kB / 0.9022 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.2169, allocations: 59.95 kB / 0.9022 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008081/0.2177, allocations: 328.6 kB / 0.9025 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.2182, allocations: 90.53 kB / 0.9026 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.2184, allocations: 32.78 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.2185, allocations: 0 / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.2185, allocations: 38.56 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.2185, allocations: 0 / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.002703/0.2212, allocations: 0.6732 MB / 0.9033 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.2213, allocations: 55.41 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.2214, allocations: 105.8 kB / 0.9035 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.774e-05/0.2215, allocations: 29.7 kB / 0.9035 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.2216, allocations: 84.08 kB / 0.9036 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.687e-05/0.2216, allocations: 43.45 kB / 0.9036 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.2217, allocations: 0 / 0.9036 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.2217, allocations: 318.8 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.222, allocations: 39.98 kB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.2222, allocations: 34.59 kB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.2225, allocations: 36 kB / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2225, allocations: 0 / 0.9041 GB, free: 59.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005628/0.2231, allocations: 133.6 kB / 0.9042 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2231, allocations: 4 kB / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2231, allocations: 0 / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.2232, allocations: 0 / 0.9042 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.2234, allocations: 31.98 kB / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.2234, allocations: 416 / 0.9042 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001315/0.2236, allocations: 19.88 kB / 0.9042 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.2236, allocations: 3.984 kB / 0.9042 GB, free: 59.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.2237, allocations: 121.8 kB / 0.9044 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.2238, allocations: 7.906 kB / 0.9044 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.2245, allocations: 133.5 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2245, allocations: 4 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2245, allocations: 4 kB / 0.9045 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.2245, allocations: 7.922 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008374/0.2254, allocations: 386.4 kB / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2254, allocations: 0 / 0.9049 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002903/0.2257, allocations: 31.98 kB / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.2257, allocations: 0 / 0.9049 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.2257, allocations: 7.922 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.2258, allocations: 0 / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.2258, allocations: 4 kB / 0.9049 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008423/0.2266, allocations: 259.3 kB / 0.9052 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.2267, allocations: 81.33 kB / 0.9052 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.2267, allocations: 11.88 kB / 0.9053 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.2269, allocations: 15.98 kB / 0.9053 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.227, allocations: 3.984 kB / 0.9053 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.227, allocations: 8.062 kB / 0.9053 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.968e-05/0.2271, allocations: 87.27 kB / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4e-07/0.2271, allocations: 0 / 0.9054 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003893/0.2275, allocations: 39.94 kB / 0.9054 GB, free: 58.43 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 (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.0002565/0.2277, allocations: 127.2 kB / 0.9055 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005994/0.2283, allocations: 95.89 kB / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.2284, allocations: 0 / 0.9056 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.2286, allocations: 47.91 kB / 0.9057 GB, free: 58.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.229, allocations: 9.672 kB / 0.9057 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008991/0.2299, allocations: 385.1 kB / 0.906 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.2301, allocations: 0.6926 MB / 0.9067 GB, free: 57.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001071/0.2302, allocations: 20.59 kB / 0.9067 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.412e-05/0.2303, allocations: 11.44 kB / 0.9067 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of SimCode: time 1.012e-06/0.2303, allocations: 0 / 0.9067 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.004617/0.2349, allocations: 1.068 MB / 0.9078 GB, free: 55.96 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)