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.0007389/0.000739, allocations: 97.64 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.004482/0.004482, allocations: 174.4 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.333/1.333, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.674/1.674, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0007804/0.0007804, allocations: 14.72 kB / 0.6743 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2313, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001858/0.2332, allocations: 1.198 MB / 0.7891 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.2346, allocations: 0.6396 MB / 0.7897 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.723e-05/0.2346, allocations: 8 kB / 0.7897 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.2347, allocations: 7.875 kB / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.896e-05/0.2348, allocations: 0 / 0.7897 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007954/0.2356, allocations: 135.6 kB / 0.7898 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.2357, allocations: 51.78 kB / 0.7899 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.867e-05/0.2357, allocations: 4 kB / 0.7899 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.757e-05/0.2358, allocations: 23.91 kB / 0.7899 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.36e-05/0.2359, allocations: 23.92 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.2359, allocations: 4 kB / 0.7899 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005986/0.2365, allocations: 347.3 kB / 0.7903 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.645e-05/0.2366, allocations: 19.92 kB / 0.7903 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.2366, allocations: 49.61 kB / 0.7903 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.237, allocations: 175.7 kB / 0.7905 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.237, allocations: 0 / 0.7905 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.923e-06/0.237, allocations: 0 / 0.7905 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.237, allocations: 0 / 0.7905 GB, free: 8.871 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.0007218/0.2378, allocations: 391.4 kB / 0.7909 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.2378, allocations: 12.03 kB / 0.7909 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.936e-05/0.2379, allocations: 8.844 kB / 0.7909 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.238, allocations: 160.4 kB / 0.791 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.2381, allocations: 8.375 kB / 0.791 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.2381, allocations: 4.375 kB / 0.7911 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.2384, allocations: 90.14 kB / 0.7911 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2385, allocations: 11.88 kB / 0.7911 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.2385, allocations: 0 / 0.7911 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.2385, allocations: 4 kB / 0.7912 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002513/0.2387, allocations: 55.95 kB / 0.7912 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.2394, allocations: 328.6 kB / 0.7915 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.2397, allocations: 90.53 kB / 0.7916 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.2398, allocations: 32.84 kB / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.2399, allocations: 0 / 0.7916 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.2399, allocations: 34.56 kB / 0.7917 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.2399, allocations: 0 / 0.7917 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001743/0.2416, allocations: 0.6813 MB / 0.7923 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.2417, allocations: 55.34 kB / 0.7924 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.501e-05/0.2418, allocations: 109.8 kB / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2418, allocations: 29.7 kB / 0.7925 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.2419, allocations: 88.05 kB / 0.7926 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.2419, allocations: 39.44 kB / 0.7926 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.2419, allocations: 21.7 kB / 0.7927 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.2421, allocations: 314.8 kB / 0.793 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.2422, allocations: 35.97 kB / 0.793 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2424, allocations: 44.11 kB / 0.793 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.2426, allocations: 76.58 kB / 0.7931 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2426, allocations: 4 kB / 0.7931 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003354/0.243, allocations: 125.6 kB / 0.7932 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.243, allocations: 7.938 kB / 0.7932 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.243, allocations: 0 / 0.7932 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.243, allocations: 0 / 0.7932 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.2432, allocations: 35.97 kB / 0.7933 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.2432, allocations: 4.031 kB / 0.7933 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.873e-05/0.2433, allocations: 11.94 kB / 0.7933 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2433, allocations: 4 kB / 0.7933 GB, free: 5.691 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 8.755e-05/0.2434, allocations: 114.5 kB / 0.7934 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.098e-05/0.2434, allocations: 4 kB / 0.7934 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004158/0.2438, allocations: 153.4 kB / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.2439, allocations: 0 / 0.7936 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.2439, allocations: 7.938 kB / 0.7936 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.2439, allocations: 0 / 0.7936 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.2446, allocations: 390.4 kB / 0.7939 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.2446, allocations: 4 kB / 0.7939 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.2447, allocations: 31.98 kB / 0.794 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.2448, allocations: 3.938 kB / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.2448, allocations: 0 / 0.794 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.2448, allocations: 4 kB / 0.794 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2448, allocations: 0 / 0.794 GB, free: 4.918 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.2453, allocations: 259.4 kB / 0.7942 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.97e-05/0.2454, allocations: 85.03 kB / 0.7943 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.2454, allocations: 7.875 kB / 0.7943 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.2455, allocations: 12 kB / 0.7943 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.2456, allocations: 7.984 kB / 0.7943 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.2456, allocations: 8.062 kB / 0.7943 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.188e-05/0.2456, allocations: 79.28 kB / 0.7944 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2456, allocations: 0 / 0.7944 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003002/0.2459, allocations: 43.98 kB / 0.7945 GB, free: 4.391 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.0002246/0.2462, allocations: 131.2 kB / 0.7946 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00033/0.2465, allocations: 95.88 kB / 0.7947 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2465, allocations: 0 / 0.7947 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.2467, allocations: 43.98 kB / 0.7947 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.247, allocations: 11.98 kB / 0.7947 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007131/0.2477, allocations: 393.2 kB / 0.7951 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.2479, allocations: 0.6926 MB / 0.7958 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.059e-05/0.248, allocations: 12.67 kB / 0.7958 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.248, allocations: 15.42 kB / 0.7958 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.248, allocations: 0 / 0.7958 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of Templates: time 0.003546/0.2516, allocations: 1.09 MB / 0.7969 GB, free: 1.887 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: