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_dp_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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.414/1.414, allocations: 252 MB / 267.6 MB, free: 10.92 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.0009893/0.0009892, allocations: 180.1 kB / 327.3 MB, free: 2.203 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.956/1.956, allocations: 205.4 MB / 0.5783 GB, free: 20.25 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.0009057/0.0009057, allocations: 84.7 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003728, allocations: 15.98 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2325, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00135/0.234, allocations: 1.005 MB / 0.9018 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008834/0.2349, allocations: 0.5701 MB / 0.9024 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.2349, allocations: 0 / 0.9024 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.2349, allocations: 0 / 0.9024 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.235, allocations: 7.922 kB / 0.9024 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005332/0.2355, allocations: 123.6 kB / 0.9025 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.806e-05/0.2356, allocations: 23.92 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.2356, allocations: 4 kB / 0.9025 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.681e-05/0.2357, allocations: 19.92 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.2357, allocations: 11.98 kB / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.2358, allocations: 0 / 0.9026 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003839/0.2361, allocations: 331.3 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.2362, allocations: 8 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.2362, allocations: 33.64 kB / 0.9029 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.2364, allocations: 100 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.2364, allocations: 4 kB / 0.903 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.043e-06/0.2364, allocations: 0 / 0.903 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.2364, allocations: 4 kB / 0.903 GB, free: 61.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004222/0.2368, allocations: 363.2 kB / 0.9034 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.2369, allocations: 8.031 kB / 0.9034 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.2369, allocations: 4 kB / 0.9034 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.619e-05/0.237, allocations: 163 kB / 0.9035 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.2371, allocations: 7.984 kB / 0.9035 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2371, allocations: 11.89 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.2372, allocations: 45.69 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.2372, allocations: 4 kB / 0.9036 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2372, allocations: 7.938 kB / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2373, allocations: 0 / 0.9036 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.62e-05/0.2373, allocations: 19.98 kB / 0.9036 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.2375, allocations: 165.6 kB / 0.9038 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.944e-05/0.2376, allocations: 58.5 kB / 0.9038 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.704e-05/0.2376, allocations: 29.08 kB / 0.9039 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.2376, allocations: 11.98 kB / 0.9039 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.964e-05/0.2377, allocations: 34.5 kB / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.2377, allocations: 0 / 0.9039 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0009645/0.2386, allocations: 0.5835 MB / 0.9045 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.2387, allocations: 55.41 kB / 0.9045 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.455e-05/0.2387, allocations: 97.84 kB / 0.9046 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.2387, allocations: 29.7 kB / 0.9047 GB, free: 59.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.175e-05/0.2388, allocations: 91.98 kB / 0.9047 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.134e-05/0.2388, allocations: 35.45 kB / 0.9048 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.2388, allocations: 4 kB / 0.9048 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.069e-05/0.2389, allocations: 314.8 kB / 0.9051 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.467e-05/0.2389, allocations: 23.98 kB / 0.9051 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.205e-05/0.239, allocations: 30.61 kB / 0.9051 GB, free: 59.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.404e-05/0.239, allocations: 28 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.239, allocations: 0 / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001141/0.2391, allocations: 93.53 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.2391, allocations: 4 kB / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.2392, allocations: 0 / 0.9052 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.2392, allocations: 3.938 kB / 0.9053 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.938e-05/0.2393, allocations: 23.98 kB / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.2393, allocations: 320 / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.2393, allocations: 4 kB / 0.9053 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.2393, allocations: 8 kB / 0.9053 GB, free: 59.02 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 5.72e-05/0.2394, allocations: 117.8 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.2394, allocations: 3.906 kB / 0.9054 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001733/0.2396, allocations: 117.6 kB / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.2396, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2396, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2396, allocations: 0 / 0.9055 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.2399, allocations: 358.4 kB / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.24, allocations: 0 / 0.9059 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.498e-05/0.2401, allocations: 19.98 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2401, allocations: 0 / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.2401, allocations: 4 kB / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2401, allocations: 0 / 0.9059 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2401, allocations: 3.984 kB / 0.9059 GB, free: 58.33 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.2403, allocations: 219.3 kB / 0.9061 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.157e-05/0.2403, allocations: 85.19 kB / 0.9062 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.2403, allocations: 8 kB / 0.9062 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.577e-05/0.2404, allocations: 0 / 0.9062 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.2404, allocations: 4 kB / 0.9062 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.2405, allocations: 11.98 kB / 0.9062 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2e-05/0.2405, allocations: 79.28 kB / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2405, allocations: 0 / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002419/0.2407, allocations: 39.94 kB / 0.9063 GB, free: 57.86 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0001717/0.2409, allocations: 131.3 kB / 0.9064 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001286/0.241, allocations: 60.36 kB / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2411, allocations: 0 / 0.9065 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.871e-05/0.2411, allocations: 39.86 kB / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.2413, allocations: 13.98 kB / 0.9065 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004556/0.2418, allocations: 374 kB / 0.9069 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.2419, allocations: 0.6848 MB / 0.9076 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.543e-05/0.2419, allocations: 19.44 kB / 0.9076 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2419, allocations: 0 / 0.9076 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of Templates: time 0.002275/0.2442, allocations: 1.105 MB / 0.9087 GB, free: 55.38 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)